Enum twitter_stream_message::types::WithheldScope
[−]
[src]
pub enum WithheldScope<'a> {
Status,
User,
Custom(Cow<'a, str>),
}Represents the withheld_scope field in Tweet and User.
Variants
StatusUserCustom(Cow<'a, str>)Trait Implementations
impl<'a> Clone for WithheldScope<'a>[src]
fn clone(&self) -> WithheldScope<'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 WithheldScope<'a>[src]
impl<'de: 'a, 'a> Deserialize<'de> for WithheldScope<'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 WithheldScope<'a>[src]
impl<'a> PartialEq for WithheldScope<'a>[src]
fn eq(&self, other: &WithheldScope) -> 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 WithheldScope<'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