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

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.