Enum matrix_sdk_base::media::MediaFormat [−][src]
pub enum MediaFormat {
File,
Thumbnail(MediaThumbnailSize),
}Expand description
The requested format of a media file.
Variants
The file that was uploaded.
Thumbnail(MediaThumbnailSize)A thumbnail of the file that was uploaded.
Trait Implementations
A string that uniquely identifies Self compared to other values of
the same type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MediaFormatimpl Send for MediaFormatimpl Sync for MediaFormatimpl Unpin for MediaFormatimpl UnwindSafe for MediaFormatBlanket 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