Enum twitter_stream_message::list::Mode
[−]
[src]
pub enum Mode<'a> {
Public,
Private,
Custom(Cow<'a, str>),
}Represents mode field of List.
Variants
PublicPrivateCustom(Cow<'a, str>)Trait Implementations
impl<'a> Clone for Mode<'a>[src]
fn clone(&self) -> Mode<'a>
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<'a> Debug for Mode<'a>[src]
impl<'de: 'a, 'a> Deserialize<'de> for Mode<'a>[src]
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<'a> AsRef<str> for Mode<'a>[src]
impl<'a> PartialEq for Mode<'a>[src]
fn eq(&self, other: &Mode) -> 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<'a> Hash for Mode<'a>[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