[][src]Struct ttv_pubsub::channel_points::Image

#[non_exhaustive]pub struct Image {
    pub url_1x: String,
    pub url_2x: String,
    pub url_4x: String,
}

Links to the same image of different sizes

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
url_1x: String

URL to png of size 28x28

url_2x: String

URL to png of size 56x56

url_4x: String

URL to png of size 112x112

Trait Implementations

impl Clone for Image[src]

impl Debug for Image[src]

impl<'de> Deserialize<'de> for Image[src]

impl Eq for Image[src]

impl PartialEq<Image> for Image[src]

impl Serialize for Image[src]

impl StructuralEq for Image[src]

impl StructuralPartialEq for Image[src]

Auto Trait Implementations

impl RefUnwindSafe for Image

impl Send for Image

impl Sync for Image

impl Unpin for Image

impl UnwindSafe for Image

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.