Struct egg_mode::entities::MediaSizes [−][src]
pub struct MediaSizes {
pub thumb: MediaSize,
pub small: MediaSize,
pub medium: MediaSize,
pub large: MediaSize,
}Expand description
Represents the available sizes for a media file.
Fields
thumb: MediaSizeInformation for a thumbnail-sized version of the media.
small: MediaSizeInformation for a small-sized version of the media.
medium: MediaSizeInformation for a medium-sized version of the media.
large: MediaSizeInformation for a large-sized version of the media.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MediaSizesimpl Send for MediaSizesimpl Sync for MediaSizesimpl Unpin for MediaSizesimpl UnwindSafe for MediaSizesBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V