Struct matrix_sdk_base::media::MediaThumbnailSize [−][src]
pub struct MediaThumbnailSize {
pub method: Method,
pub width: UInt,
pub height: UInt,
}Expand description
The requested size of a media thumbnail.
Fields
method: MethodThe desired resizing method.
width: UIntThe desired width of the thumbnail. The actual thumbnail may not match the size specified.
height: UIntThe desired height of the thumbnail. The actual thumbnail may not match the size specified.
Trait Implementations
A string that uniquely identifies Self compared to other values of
the same type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MediaThumbnailSize
impl Send for MediaThumbnailSize
impl Sync for MediaThumbnailSize
impl Unpin for MediaThumbnailSize
impl UnwindSafe for MediaThumbnailSize
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more