Struct botapi::gen_types::NoSkipStickerSet
source · pub struct NoSkipStickerSet {
pub name: String,
pub title: String,
pub sticker_type: String,
pub stickers: Vec<Sticker>,
pub thumbnail: Option<BoxWrapper<Unbox<PhotoSize>>>,
}
Expand description
Companion type to StickerSet that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§name: String
Sticker set name
title: String
Sticker set title
sticker_type: String
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
stickers: Vec<Sticker>
List of all set stickers
thumbnail: Option<BoxWrapper<Unbox<PhotoSize>>>
Implementations§
source§impl NoSkipStickerSet
impl NoSkipStickerSet
pub fn skip(self) -> StickerSet
Trait Implementations§
source§impl Clone for NoSkipStickerSet
impl Clone for NoSkipStickerSet
source§fn clone(&self) -> NoSkipStickerSet
fn clone(&self) -> NoSkipStickerSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NoSkipStickerSet
impl Debug for NoSkipStickerSet
source§impl Default for NoSkipStickerSet
impl Default for NoSkipStickerSet
source§fn default() -> NoSkipStickerSet
fn default() -> NoSkipStickerSet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipStickerSet
impl<'de> Deserialize<'de> for NoSkipStickerSet
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<NoSkipStickerSet> for StickerSet
impl From<NoSkipStickerSet> for StickerSet
source§fn from(t: NoSkipStickerSet) -> Self
fn from(t: NoSkipStickerSet) -> Self
Converts to this type from the input type.
source§impl Hash for NoSkipStickerSet
impl Hash for NoSkipStickerSet
source§impl Into<NoSkipStickerSet> for StickerSet
impl Into<NoSkipStickerSet> for StickerSet
source§fn into(self) -> NoSkipStickerSet
fn into(self) -> NoSkipStickerSet
Converts this type into the (usually inferred) input type.
source§impl Ord for NoSkipStickerSet
impl Ord for NoSkipStickerSet
source§fn cmp(&self, other: &NoSkipStickerSet) -> Ordering
fn cmp(&self, other: &NoSkipStickerSet) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NoSkipStickerSet
impl PartialEq for NoSkipStickerSet
source§fn eq(&self, other: &NoSkipStickerSet) -> bool
fn eq(&self, other: &NoSkipStickerSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NoSkipStickerSet
impl PartialOrd for NoSkipStickerSet
source§fn partial_cmp(&self, other: &NoSkipStickerSet) -> Option<Ordering>
fn partial_cmp(&self, other: &NoSkipStickerSet) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for NoSkipStickerSet
impl Serialize for NoSkipStickerSet
impl Eq for NoSkipStickerSet
impl StructuralPartialEq for NoSkipStickerSet
Auto Trait Implementations§
impl Freeze for NoSkipStickerSet
impl RefUnwindSafe for NoSkipStickerSet
impl Send for NoSkipStickerSet
impl Sync for NoSkipStickerSet
impl Unpin for NoSkipStickerSet
impl UnwindSafe for NoSkipStickerSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.