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

Trait Implementations

impl<'a> Clone for WithheldScope<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for WithheldScope<'a>
[src]

Formats the value using the given formatter.

impl<'de: 'a, 'a> Deserialize<'de> for WithheldScope<'a>
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<'a> AsRef<str> for WithheldScope<'a>
[src]

Performs the conversion.

impl<'a> PartialEq for WithheldScope<'a>
[src]

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

This method tests for !=.

impl<'a> Hash for WithheldScope<'a>
[src]

Feeds this value into the given [Hasher]. Read more

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

impl<'a> Eq for WithheldScope<'a>
[src]