Enum twitter_stream_message::entities::Resize [] [src]

pub enum Resize<'a> {
    Fit,
    Crop,
    Custom(Cow<'a, str>),
}

Represents the resize field in Size.

Variants

The media was resized to fit one dimension, keeping its native aspect ratio.

The media was cropped in order to fit a specific resolution.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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

Deserialize this value from the given Serde deserializer. Read more

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

Performs the conversion.

impl<'a> PartialEq for Resize<'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 Resize<'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 Resize<'a>
[src]