Struct matrix_sdk_base::media::MediaRequest [−][src]
pub struct MediaRequest {
pub media_type: MediaType,
pub format: MediaFormat,
}Expand description
A request for media data.
Fields
media_type: MediaTypeThe type of the media file.
format: MediaFormatThe requested format of the media data.
Trait Implementations
A string that uniquely identifies Self compared to other values of
the same type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MediaRequestimpl Send for MediaRequestimpl Sync for MediaRequestimpl Unpin for MediaRequestimpl UnwindSafe for MediaRequestBlanket 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