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

The height of the image in pixels.

The MIME type of the image, e.g. "image/png."

The file size of the image in bytes.

The width of the image in pixels.

Trait Implementations

impl Clone for ImageInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ImageInfo
[src]

Formats the value using the given formatter.

impl PartialEq for ImageInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.