[][src]Struct rtdlib::types::Sticker

pub struct Sticker { /* fields omitted */ }

Describes a sticker

Implementations

impl Sticker[src]

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

pub fn builder() -> RTDStickerBuilder[src]

pub fn set_id(&self) -> &String[src]

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

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

pub fn emoji(&self) -> &String[src]

pub fn is_animated(&self) -> bool[src]

pub fn is_mask(&self) -> bool[src]

pub fn mask_position(&self) -> &Option<MaskPosition>[src]

pub fn thumbnail(&self) -> &Option<PhotoSize>[src]

pub fn sticker(&self) -> &File[src]

Trait Implementations

impl AsRef<Sticker> for Sticker[src]

impl Clone for Sticker[src]

impl Debug for Sticker[src]

impl Default for Sticker[src]

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

impl RObject for Sticker[src]

impl Serialize for Sticker[src]

Auto Trait Implementations

impl RefUnwindSafe for Sticker

impl Send for Sticker

impl Sync for Sticker

impl Unpin for Sticker

impl UnwindSafe for Sticker

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.