Remove @type field from StateChange struct

This field is not included in EventStream messages from Fastmail.
This commit is contained in:
2024-07-21 21:08:57 -05:00
parent 4633f8997e
commit 324ef442a2

View File

@@ -348,8 +348,6 @@ pub enum StateChangeType {
#[derive(Debug, Deserialize)]
pub struct StateChange {
#[serde(rename = "@type")]
pub type_: StateChangeType,
pub changed: AHashMap<String, AHashMap<TypeState, String>>,
}