Adding last_seen back in as I don't feel like making a persisted version of the model just now

This commit is contained in:
Dave Hrycyszyn
2019-12-17 10:30:48 +00:00
parent 65ae5c4cec
commit 808a79062f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ pub struct MixNodePresence {
pub host: String,
pub pub_key: String,
pub layer: u64,
pub last_seen: u64,
}
#[derive(Deserialize, Serialize)]
@@ -80,6 +80,7 @@ mod metrics_get_request {
host: "foo.com".to_string(),
pub_key: "abc".to_string(),
layer: 1,
last_seen: 0,
}
}
}