pub struct MessageSticker {
pub format_type: StickerFormatType,
pub id: Id<StickerMarker>,
pub name: String,
}
Expand description
Smallest amount of data required to render a Sticker
.
Fields§
§format_type: StickerFormatType
Format type.
id: Id<StickerMarker>
ID of the sticker.
name: String
Name of the sticker.
Trait Implementations§
source§impl Clone for MessageSticker
impl Clone for MessageSticker
source§fn clone(&self) -> MessageSticker
fn clone(&self) -> MessageSticker
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 MessageSticker
impl Debug for MessageSticker
source§impl<'de> Deserialize<'de> for MessageSticker
impl<'de> Deserialize<'de> for MessageSticker
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 Hash for MessageSticker
impl Hash for MessageSticker
source§impl PartialEq for MessageSticker
impl PartialEq for MessageSticker
source§impl Serialize for MessageSticker
impl Serialize for MessageSticker
impl Eq for MessageSticker
impl StructuralPartialEq for MessageSticker
Auto Trait Implementations§
impl Freeze for MessageSticker
impl RefUnwindSafe for MessageSticker
impl Send for MessageSticker
impl Sync for MessageSticker
impl Unpin for MessageSticker
impl UnwindSafe for MessageSticker
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)