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
Fields
created_at: DateTime
event: EventKind
An object which indicates the name of the event and contains an optional object which represents the target of the event.
target: User
source: User
Trait Implementations
impl Clone for Event[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Event[src]
impl PartialEq for Event[src]
fn eq(&self, __arg_0: &Event) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Event) -> bool
This method tests for !=.
impl Deserialize for Event[src]
fn deserialize<D: Deserializer>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more