Add eq to some types
@@ -462,7 +462,7 @@ pub struct OperatorCheckinMessage {
/// Struct for storing peer status data for reporting to the operator tools server
/// the goal is to give a full picture of all links in the network to the operator
/// so we include not only the link speed but also the stats history of the link
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq)]
pub struct NeighborStatus {
/// the id of the neighbor
pub id: Identity,
@@ -471,7 +471,7 @@ pub struct NeighborStatus {
}
/// Struct for storing user contact details
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq)]
pub struct ContactDetails {
pub phone: Option<String>,
pub email: Option<String>,
