pub struct DocumentAttributeSticker {
pub mask: bool,
pub alt: String,
pub stickerset: InputStickerSet,
pub mask_coords: Option<MaskCoords>,
}Expand description
Generated from:
documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttributeFields§
§mask: bool§alt: String§stickerset: InputStickerSet§mask_coords: Option<MaskCoords>Trait Implementations§
Source§impl Clone for DocumentAttributeSticker
impl Clone for DocumentAttributeSticker
Source§fn clone(&self) -> DocumentAttributeSticker
fn clone(&self) -> DocumentAttributeSticker
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 DocumentAttributeSticker
impl Debug for DocumentAttributeSticker
Source§impl Deserializable for DocumentAttributeSticker
impl Deserializable for DocumentAttributeSticker
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<DocumentAttributeSticker> for DocumentAttribute
impl From<DocumentAttributeSticker> for DocumentAttribute
Source§fn from(x: DocumentAttributeSticker) -> Self
fn from(x: DocumentAttributeSticker) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DocumentAttributeSticker
impl Identifiable for DocumentAttributeSticker
Source§const CONSTRUCTOR_ID: u32 = 0x6319d612
const CONSTRUCTOR_ID: u32 = 0x6319d612
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DocumentAttributeSticker
impl PartialEq for DocumentAttributeSticker
Source§impl TryFrom<DocumentAttribute> for DocumentAttributeSticker
impl TryFrom<DocumentAttribute> for DocumentAttributeSticker
Source§type Error = DocumentAttribute
type Error = DocumentAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for DocumentAttributeSticker
Auto Trait Implementations§
impl Freeze for DocumentAttributeSticker
impl RefUnwindSafe for DocumentAttributeSticker
impl Send for DocumentAttributeSticker
impl Sync for DocumentAttributeSticker
impl Unpin for DocumentAttributeSticker
impl UnsafeUnpin for DocumentAttributeSticker
impl UnwindSafe for DocumentAttributeSticker
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