[][src]Struct uploads_im_client::ImageReference

pub struct ImageReference<Dimension> {
    pub dimensions: Rectangle<Dimension>,
    pub url: Url,
}

An abstract struct that encapsulates an image entry on the Uploads.im site.

Fields

dimensions: Rectangle<Dimension>

The dimensions of the referred image.

url: Url

The URL through which the referred image can be requested.

Trait Implementations

impl<Dimension: Clone> Clone for ImageReference<Dimension>[src]

impl<Dimension: Debug> Debug for ImageReference<Dimension>[src]

Auto Trait Implementations

impl<Dimension> RefUnwindSafe for ImageReference<Dimension> where
    Dimension: RefUnwindSafe

impl<Dimension> Send for ImageReference<Dimension> where
    Dimension: Send

impl<Dimension> Sync for ImageReference<Dimension> where
    Dimension: Sync

impl<Dimension> Unpin for ImageReference<Dimension> where
    Dimension: Unpin

impl<Dimension> UnwindSafe for ImageReference<Dimension> where
    Dimension: UnwindSafe

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.