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