use serde::Deserialize; use serde_json::{Map, Value}; #[derive(Deserialize)] pub struct GetCount { pub data: GetCountData, } #[derive(Deserialize)] pub struct GetCountData { pub count: usize, } #[derive(Debug, Deserialize)] pub struct GetList { pub data: Vec, } #[derive(Debug, Deserialize)] pub struct GetListData { #[serde(rename = "dataId")] pub data_id: String, pub proc: String, pub resp: Option, #[serde(rename = "status")] pub _status: i32, #[serde(rename = "unitId")] pub _unit_id: String, #[serde(rename = "deviceId")] pub _device_id: Option, #[serde(rename = "networkCode")] pub _network_code: Option, #[serde(rename = "networkAddr")] pub _network_addr: Option, #[serde(rename = "profile")] pub _profile: String, #[serde(rename = "data")] pub _data: String, #[serde(rename = "extension")] pub _extension: Option>, }