Add some necessary traits

This commit is contained in:
Vecna 2024-02-28 16:07:13 -05:00
parent 6448537c4b
commit 548c94f834
1 changed files with 2 additions and 0 deletions

View File

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