Enum twitter_stream::With [] [src]

pub enum With {
    User,
    Following,
    Custom(String),
}

A value for with parameter for User and Site Streams.

Variants

Instruct the stream to send messages only from the user associated with that stream. The default for Site Streams.

Instruct the stream to send messages from accounts the user follows as well, equivalent to the user’s home timeline. The default for User Streams.

Custom value.

Trait Implementations

impl Clone for With
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for With
[src]

Formats the value using the given formatter.

impl Deserialize for With
[src]

Deserialize this value from the given Serde deserializer. Read more

impl AsRef<str> for With
[src]

Performs the conversion.

impl PartialEq for With
[src]

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

This method tests for !=.

impl Hash for With
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for With
[src]