1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use crate::events::Source; use serde_derive::Deserialize; #[derive(Deserialize, Debug)] pub struct UnsendEvent { pub mode: String, pub timestamp: i64, pub source: Source, pub unsend: Unsend, } #[derive(Deserialize, Debug)] pub struct Unsend { #[serde(rename = "messageId")] pub message_id: String, }