pub struct DocumentAttributeCustomEmoji {
pub free: bool,
pub text_color: bool,
pub alt: String,
pub stickerset: InputStickerSet,
}Expand description
Generated from:
documentAttributeCustomEmoji#fd149899 flags:# free:flags.0?true text_color:flags.1?true alt:string stickerset:InputStickerSet = DocumentAttributeFields§
§free: bool§text_color: bool§alt: String§stickerset: InputStickerSetTrait Implementations§
Source§impl Clone for DocumentAttributeCustomEmoji
impl Clone for DocumentAttributeCustomEmoji
Source§fn clone(&self) -> DocumentAttributeCustomEmoji
fn clone(&self) -> DocumentAttributeCustomEmoji
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 DocumentAttributeCustomEmoji
impl Debug for DocumentAttributeCustomEmoji
Source§impl Deserializable for DocumentAttributeCustomEmoji
impl Deserializable for DocumentAttributeCustomEmoji
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<DocumentAttributeCustomEmoji> for DocumentAttribute
impl From<DocumentAttributeCustomEmoji> for DocumentAttribute
Source§fn from(x: DocumentAttributeCustomEmoji) -> Self
fn from(x: DocumentAttributeCustomEmoji) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DocumentAttributeCustomEmoji
impl Identifiable for DocumentAttributeCustomEmoji
Source§const CONSTRUCTOR_ID: u32 = 0xfd149899
const CONSTRUCTOR_ID: u32 = 0xfd149899
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DocumentAttributeCustomEmoji
impl PartialEq for DocumentAttributeCustomEmoji
Source§fn eq(&self, other: &DocumentAttributeCustomEmoji) -> bool
fn eq(&self, other: &DocumentAttributeCustomEmoji) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<DocumentAttribute> for DocumentAttributeCustomEmoji
impl TryFrom<DocumentAttribute> for DocumentAttributeCustomEmoji
Source§type Error = DocumentAttribute
type Error = DocumentAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for DocumentAttributeCustomEmoji
Auto Trait Implementations§
impl Freeze for DocumentAttributeCustomEmoji
impl RefUnwindSafe for DocumentAttributeCustomEmoji
impl Send for DocumentAttributeCustomEmoji
impl Sync for DocumentAttributeCustomEmoji
impl Unpin for DocumentAttributeCustomEmoji
impl UnsafeUnpin for DocumentAttributeCustomEmoji
impl UnwindSafe for DocumentAttributeCustomEmoji
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