Struct egg_mode::raw::types::direct::SingleEvent [−][src]
pub struct SingleEvent { pub event: EventType, pub apps: HashMap<String, TweetSource>, }
Expand description
Single direct message event.
Fields
event: EventType
Information about the event.
apps: HashMap<String, TweetSource>
Mapping of source app ID to information about the app, if this message was sent by the authenticated user.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SingleEvent
impl Send for SingleEvent
impl Sync for SingleEvent
impl Unpin for SingleEvent
impl UnwindSafe for SingleEvent