Struct ruma_events::room::ImageInfo
[−]
[src]
pub struct ImageInfo { pub height: u64, pub mimetype: String, pub size: u64, pub width: u64, }
Metadata about an image.
Fields
height: u64
The height of the image in pixels.
mimetype: String
The MIME type of the image, e.g. "image/png."
size: u64
The file size of the image in bytes.
width: u64
The width of the image in pixels.
Trait Implementations
impl Clone for ImageInfo
[src]
fn clone(&self) -> ImageInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more