Struct egg_mode::raw::types::direct::EventCursor [−][src]
pub struct EventCursor { pub events: Vec<EventType>, pub apps: HashMap<String, TweetSource>, pub next_cursor: Option<String>, }
Expand description
Listing of direct message events, represented as a cursored page within a larger data set.
Fields
events: Vec<EventType>
The list of events contained on this page.
apps: HashMap<String, TweetSource>
The mapping of source app IDs to information about the app, if messages on this page were sent by the authenticated user.
next_cursor: Option<String>
String ID for the next page of message events, if more exist.
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 EventCursor
impl Send for EventCursor
impl Sync for EventCursor
impl Unpin for EventCursor
impl UnwindSafe for EventCursor