This commit is contained in:
2023-09-24 15:04:44 +00:00
parent 3b8926fb61
commit 25655b7bcb
5 changed files with 39 additions and 2 deletions

View File

@@ -31,3 +31,9 @@ pub struct ValueMessage {
pub value_id: i32,
pub timestamp: NaiveDateTime,
}
#[derive(Deserialize, Debug, Serialize)]
pub struct Device {
pub display_name: Option<String>,
pub id: String
}