[][src]Struct tbot::types::inline_query::result::GifThumb

pub struct GifThumb<'a> { /* fields omitted */ }

Represents a Fresh GIF's thumb.

Implementations

impl<'a> GifThumb<'a>[src]

#[must_use]pub const fn jpeg(url: &'a str) -> Self[src]

Constructs a JPEG thumb.

#[must_use]pub const fn gif(url: &'a str) -> Self[src]

Constructs a GIF thumb.

#[must_use]pub const fn mp4(url: &'a str) -> Self[src]

Constructs a MP4 thumb.

Trait Implementations

impl<'a> From<&'a str> for GifThumb<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for GifThumb<'a>

impl<'a> Send for GifThumb<'a>

impl<'a> Sync for GifThumb<'a>

impl<'a> Unpin for GifThumb<'a>

impl<'a> UnwindSafe for GifThumb<'a>

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.

impl<T> WithSubscriber for T[src]