Enum twitter_stream::types::With
[−]
[src]
pub enum With {
User,
Following,
Custom(String),
}A value for with parameter for User and Site Streams.
Variants
UserInstruct the stream to send messages only from the user associated with that stream. The default for Site Streams.
FollowingInstruct 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(String)Custom value.
Trait Implementations
impl Clone for With[src]
fn clone(&self) -> With
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 With[src]
impl AsRef<str> for With[src]
impl PartialEq for With[src]
fn eq(&self, other: &With) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Hash for With[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more