pub struct WireSticker {
pub file_id: String,
pub emoji: Option<String>,
pub set_name: Option<String>,
pub format: String,
pub path: Option<String>,
}Expand description
A sticker attached to an inbound message.
Fields§
§file_id: StringSticker identifier for resend-by-id.
emoji: Option<String>Associated emoji.
set_name: Option<String>Owning set name.
format: Stringstatic, animated, or video.
path: Option<String>Local file backing the sticker, if any.
Trait Implementations§
Source§impl Clone for WireSticker
impl Clone for WireSticker
Source§fn clone(&self) -> WireSticker
fn clone(&self) -> WireSticker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WireSticker
impl Debug for WireSticker
Source§impl<'de> Deserialize<'de> for WireSticker
impl<'de> Deserialize<'de> for WireSticker
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
impl Eq for WireSticker
Source§impl PartialEq for WireSticker
impl PartialEq for WireSticker
Source§impl Serialize for WireSticker
impl Serialize for WireSticker
impl StructuralPartialEq for WireSticker
Auto Trait Implementations§
impl Freeze for WireSticker
impl RefUnwindSafe for WireSticker
impl Send for WireSticker
impl Sync for WireSticker
impl Unpin for WireSticker
impl UnsafeUnpin for WireSticker
impl UnwindSafe for WireSticker
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