pub struct FeaturedStickers {
pub premium: bool,
pub hash: i64,
pub count: i32,
pub sets: Vec<StickerSetCovered>,
pub unread: Vec<i64>,
}Expand description
Generated from:
messages.featuredStickers#be382906 flags:# premium:flags.0?true hash:long count:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickersFields§
§hash: i64§count: i32§sets: Vec<StickerSetCovered>§unread: Vec<i64>Trait Implementations§
Source§impl Clone for FeaturedStickers
impl Clone for FeaturedStickers
Source§fn clone(&self) -> FeaturedStickers
fn clone(&self) -> FeaturedStickers
Returns a duplicate 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 FeaturedStickers
impl Debug for FeaturedStickers
Source§impl Deserializable for FeaturedStickers
impl Deserializable for FeaturedStickers
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<FeaturedStickers> for FeaturedStickers
impl From<FeaturedStickers> for FeaturedStickers
Source§fn from(x: FeaturedStickers) -> Self
fn from(x: FeaturedStickers) -> Self
Converts to this type from the input type.
Source§impl Identifiable for FeaturedStickers
impl Identifiable for FeaturedStickers
Source§const CONSTRUCTOR_ID: u32 = 0xbe382906
const CONSTRUCTOR_ID: u32 = 0xbe382906
The constructor ID as specified in the TL schema.
Source§impl PartialEq for FeaturedStickers
impl PartialEq for FeaturedStickers
Source§impl Serializable for FeaturedStickers
impl Serializable for FeaturedStickers
Source§impl TryFrom<FeaturedStickers> for FeaturedStickers
impl TryFrom<FeaturedStickers> for FeaturedStickers
Source§type Error = FeaturedStickers
type Error = FeaturedStickers
The type returned in the event of a conversion error.
impl StructuralPartialEq for FeaturedStickers
Auto Trait Implementations§
impl Freeze for FeaturedStickers
impl RefUnwindSafe for FeaturedStickers
impl Send for FeaturedStickers
impl Sync for FeaturedStickers
impl Unpin for FeaturedStickers
impl UnsafeUnpin for FeaturedStickers
impl UnwindSafe for FeaturedStickers
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