[−][src]Struct tbot::types::sticker::Sticker
Represents a Sticker
.
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.file_id: Id
The file ID of the sticker.
file_unique_id: String
The unique 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.
file_size: Option<u32>
The file size of the sticker.
kind: Kind
The kind of the sticker.
Trait Implementations
impl AsFileId for Sticker
[src]
#[must_use]
fn as_file_id(&self) -> Ref
[src]
impl Clone for Sticker
[src]
impl Debug for Sticker
[src]
impl<'de> Deserialize<'de> for Sticker
[src]
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<Sticker> for Sticker
[src]
impl StructuralPartialEq 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,