Enum twitter_stream::entities::Resize [] [src]

pub enum Resize {
    Fit,
    Crop,
    Custom(String),
}

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 Clone for Resize
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Resize
[src]

Formats the value using the given formatter.

impl Deserialize for Resize
[src]

Deserialize this value from the given Serde deserializer. Read more

impl AsRef<str> for Resize
[src]

Performs the conversion.

impl PartialEq for Resize
[src]

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

This method tests for !=.

impl Hash for Resize
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for Resize
[src]