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: MediaType
The type of the media file.
format: MediaFormat
The 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 MediaRequest
impl Send for MediaRequest
impl Sync for MediaRequest
impl Unpin for MediaRequest
impl UnwindSafe for MediaRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more