pub struct TextCustomEmoji {
pub document_id: i64,
pub alt: String,
}Expand description
Fields§
§document_id: i64§alt: StringTrait Implementations§
Source§impl Clone for TextCustomEmoji
impl Clone for TextCustomEmoji
Source§fn clone(&self) -> TextCustomEmoji
fn clone(&self) -> TextCustomEmoji
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 TextCustomEmoji
impl Debug for TextCustomEmoji
Source§impl Deserializable for TextCustomEmoji
impl Deserializable for TextCustomEmoji
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<TextCustomEmoji> for RichText
impl From<TextCustomEmoji> for RichText
Source§fn from(x: TextCustomEmoji) -> Self
fn from(x: TextCustomEmoji) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextCustomEmoji
impl Identifiable for TextCustomEmoji
Source§const CONSTRUCTOR_ID: u32 = 0xa26156c0
const CONSTRUCTOR_ID: u32 = 0xa26156c0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextCustomEmoji
impl PartialEq for TextCustomEmoji
Source§fn eq(&self, other: &TextCustomEmoji) -> bool
fn eq(&self, other: &TextCustomEmoji) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for TextCustomEmoji
impl Serializable for TextCustomEmoji
impl StructuralPartialEq for TextCustomEmoji
Auto Trait Implementations§
impl Freeze for TextCustomEmoji
impl RefUnwindSafe for TextCustomEmoji
impl Send for TextCustomEmoji
impl Sync for TextCustomEmoji
impl Unpin for TextCustomEmoji
impl UnsafeUnpin for TextCustomEmoji
impl UnwindSafe for TextCustomEmoji
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