Remove @type field from StateChange struct
This field is not included in EventStream messages from Fastmail.
This commit is contained in:
@@ -348,8 +348,6 @@ pub enum StateChangeType {
|
|||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct StateChange {
|
pub struct StateChange {
|
||||||
#[serde(rename = "@type")]
|
|
||||||
pub type_: StateChangeType,
|
|
||||||
pub changed: AHashMap<String, AHashMap<TypeState, String>>,
|
pub changed: AHashMap<String, AHashMap<TypeState, String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user