Struct twitter_stream::messages::stream::Event [] [src]

pub struct Event {
    pub created_at: DateTime,
    pub event: EventKind,
    pub target: User,
    pub source: User,
}

Represents notifications about non-Tweet events are also sent over a stream.

Reference

  1. Streaming message types — Twitter Developers

Fields

An object which indicates the name of the event and contains an optional object which represents the target of the event.

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter.

impl PartialEq for Event
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Deserialize for Event
[src]

Deserialize this value from the given Serde deserializer. Read more