Struct matrix_sdk::attachment::BaseThumbnailInfo
source · [−]pub struct BaseThumbnailInfo {
pub height: Option<UInt>,
pub width: Option<UInt>,
pub size: Option<UInt>,
}Expand description
Base metadata about a thumbnail.
Fields
height: Option<UInt>The height of the thumbnail in pixels.
width: Option<UInt>The width of the thumbnail in pixels.
size: Option<UInt>The file size of the thumbnail in bytes.
Trait Implementations
sourceimpl Clone for BaseThumbnailInfo
impl Clone for BaseThumbnailInfo
sourcefn clone(&self) -> BaseThumbnailInfo
fn clone(&self) -> BaseThumbnailInfo
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BaseThumbnailInfo
impl Debug for BaseThumbnailInfo
sourceimpl From<BaseThumbnailInfo> for ThumbnailInfo
impl From<BaseThumbnailInfo> for ThumbnailInfo
sourcefn from(info: BaseThumbnailInfo) -> Self
fn from(info: BaseThumbnailInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BaseThumbnailInfo
impl Send for BaseThumbnailInfo
impl Sync for BaseThumbnailInfo
impl Unpin for BaseThumbnailInfo
impl UnwindSafe for BaseThumbnailInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more