Commit bd7ccbd0 authored by xuwencheng's avatar xuwencheng

upgrade

parent afeaa8e2
...@@ -28,4 +28,15 @@ pub struct PushMessage { ...@@ -28,4 +28,15 @@ pub struct PushMessage {
pub key: Option<String>, pub key: Option<String>,
pub qos: Qos, pub qos: Qos,
pub payload: Option<String>, pub payload: Option<String>,
}
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DeviceMessage {
pub devices: Vec<i32>,
pub business_type: i32,
pub message_id: i64,
pub key: Option<String>,
pub qos: Qos,
pub payload: Option<String>,
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment