Struct twitter_stream_message::message::Event [] [src]

pub struct Event<'a> {
    pub created_at: DateTime,
    pub event: EventKind<'a>,
    pub target: User<'a>,
    pub source: User<'a>,
}

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<'a> Clone for Event<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Event<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Event<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'de: 'a, 'a> Deserialize<'de> for Event<'a>
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl<'a> Send for Event<'a>

impl<'a> Sync for Event<'a>