Struct matrix_sdk::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 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