[][src]Struct rtdlib::types::InputMessageAnimation

pub struct InputMessageAnimation { /* fields omitted */ }

An animation message (GIF-style).

Implementations

impl InputMessageAnimation[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDInputMessageAnimationBuilder[src]

pub fn animation(&self) -> &InputFile[src]

pub fn thumbnail(&self) -> &InputThumbnail[src]

pub fn duration(&self) -> i64[src]

pub fn width(&self) -> i64[src]

pub fn height(&self) -> i64[src]

pub fn caption(&self) -> &FormattedText[src]

Trait Implementations

impl AsRef<InputMessageAnimation> for InputMessageAnimation[src]

impl Clone for InputMessageAnimation[src]

impl Debug for InputMessageAnimation[src]

impl Default for InputMessageAnimation[src]

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

impl RObject for InputMessageAnimation[src]

impl Serialize for InputMessageAnimation[src]

impl TDInputMessageContent for InputMessageAnimation[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> 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.