[][src]Struct uploads_im_client::UploadedImage

pub struct UploadedImage {
    pub name: String,
    pub full_size: ImageReference<FullSizeDimension>,
    pub view_url: Url,
    pub thumbnail: ImageReference<ThumbnailDimension>,
    pub was_resized: bool,
}

Represents a completed image upload to Uploads.im.

Fields

name: String

The name of an uploaded image. This usually does not match the name of the original uploaded image file. This name is usually an ID value, followed by the original extension of the uploaded image. For example, something.jpg may be renamed to vwk7b.jpg.

full_size: ImageReference<FullSizeDimension>

A reference to the full-size uploaded image.

view_url: Url

A URL to a human-friendly page showing the uploaded image.

thumbnail: ImageReference<ThumbnailDimension>

A reference to a thumbnail version of the uploaded image.

was_resized: bool

Flags whether or not the uploaded image was resized upon upload.

Trait Implementations

impl Clone for UploadedImage[src]

impl Debug for UploadedImage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.