pub struct InputStickeredMediaDocument {
pub id: InputDocument,
}Expand description
Generated from:
inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMediaFields§
§id: InputDocumentTrait Implementations§
Source§impl Clone for InputStickeredMediaDocument
impl Clone for InputStickeredMediaDocument
Source§fn clone(&self) -> InputStickeredMediaDocument
fn clone(&self) -> InputStickeredMediaDocument
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 InputStickeredMediaDocument
impl Debug for InputStickeredMediaDocument
Source§impl Deserializable for InputStickeredMediaDocument
impl Deserializable for InputStickeredMediaDocument
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<InputStickeredMediaDocument> for InputStickeredMedia
impl From<InputStickeredMediaDocument> for InputStickeredMedia
Source§fn from(x: InputStickeredMediaDocument) -> Self
fn from(x: InputStickeredMediaDocument) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStickeredMediaDocument
impl Identifiable for InputStickeredMediaDocument
Source§const CONSTRUCTOR_ID: u32 = 0x0438865b
const CONSTRUCTOR_ID: u32 = 0x0438865b
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputStickeredMedia> for InputStickeredMediaDocument
impl TryFrom<InputStickeredMedia> for InputStickeredMediaDocument
Source§type Error = InputStickeredMedia
type Error = InputStickeredMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputStickeredMediaDocument
Auto Trait Implementations§
impl Freeze for InputStickeredMediaDocument
impl RefUnwindSafe for InputStickeredMediaDocument
impl Send for InputStickeredMediaDocument
impl Sync for InputStickeredMediaDocument
impl Unpin for InputStickeredMediaDocument
impl UnsafeUnpin for InputStickeredMediaDocument
impl UnwindSafe for InputStickeredMediaDocument
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