Browse Source

Add some necessary traits

Vecna 3 months ago
parent
commit
548c94f834
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bridge_info.rs

+ 2 - 0
src/bridge_info.rs

@@ -1,8 +1,10 @@
 use curve25519_dalek::Scalar;
 use ed25519_dalek::VerifyingKey;
 use lox_library::bridge_table::BridgeLine;
+use serde::{Deserialize, Serialize};
 
 /// Information that needs to be known to verify a Troll Patrol report
+#[derive(Debug, Serialize, Deserialize)]
 pub struct BridgeInfo {
     /// BridgeLine for this bridge
     pub bridge_line: BridgeLine,