[][src]Struct tbot::types::sticker::Sticker

pub struct Sticker {
    pub file_id: Id,
    pub width: u32,
    pub height: u32,
    pub thumb: Option<PhotoSize>,
    pub emoji: Option<String>,
    pub set_name: Option<String>,
    pub mask_position: Option<MaskPosition>,
    pub file_size: Option<u32>,
}

Represents a Sticker.

Fields

file_id: Id

The file ID of the sticker.

width: u32

The width of the sticker.

height: u32

The height of the sticker.

thumb: Option<PhotoSize>

The thumb of the sticker.

emoji: Option<String>

The emoji of the sticker.

set_name: Option<String>

The sticker set name which contains the sticker.

mask_position: Option<MaskPosition>

The position of the sticker if it's a mask.

file_size: Option<u32>

The file size of the sticker.

Trait Implementations

impl AsFileId for Sticker[src]

impl PartialEq<Sticker> for Sticker[src]

impl Clone for Sticker[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Sticker[src]

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

Auto Trait Implementations

impl Unpin for Sticker

impl Sync for Sticker

impl Send for Sticker

impl RefUnwindSafe for Sticker

impl UnwindSafe for Sticker

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]