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