pub struct StickerPack {
pub emoticon: String,
pub documents: Vec<i64>,
}Expand description
Generated from:
stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPackFields§
§emoticon: String§documents: Vec<i64>Trait Implementations§
Source§impl Clone for StickerPack
impl Clone for StickerPack
Source§fn clone(&self) -> StickerPack
fn clone(&self) -> StickerPack
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 StickerPack
impl Debug for StickerPack
Source§impl Deserializable for StickerPack
impl Deserializable for StickerPack
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<StickerPack> for StickerPack
impl From<StickerPack> for StickerPack
Source§fn from(x: StickerPack) -> Self
fn from(x: StickerPack) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StickerPack
impl Identifiable for StickerPack
Source§const CONSTRUCTOR_ID: u32 = 0x12b299d4
const CONSTRUCTOR_ID: u32 = 0x12b299d4
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StickerPack
impl PartialEq for StickerPack
Source§impl Serializable for StickerPack
impl Serializable for StickerPack
Source§impl TryFrom<StickerPack> for StickerPack
impl TryFrom<StickerPack> for StickerPack
Source§type Error = StickerPack
type Error = StickerPack
The type returned in the event of a conversion error.
impl StructuralPartialEq for StickerPack
Auto Trait Implementations§
impl Freeze for StickerPack
impl RefUnwindSafe for StickerPack
impl Send for StickerPack
impl Sync for StickerPack
impl Unpin for StickerPack
impl UnsafeUnpin for StickerPack
impl UnwindSafe for StickerPack
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