Enum twitter_stream::types::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 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 given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for With
[src]