Remove @type field from StateChange struct
This field is not included in EventStream messages from Fastmail.main
parent
4633f8997e
commit
324ef442a2
|
@ -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>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue