pub struct InputPeerChat {
pub chat_id: i64,
}Expand description
Fields§
§chat_id: i64Trait Implementations§
Source§impl Clone for InputPeerChat
impl Clone for InputPeerChat
Source§fn clone(&self) -> InputPeerChat
fn clone(&self) -> InputPeerChat
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 InputPeerChat
impl Debug for InputPeerChat
Source§impl Deserializable for InputPeerChat
impl Deserializable for InputPeerChat
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<InputPeerChat> for InputPeer
impl From<InputPeerChat> for InputPeer
Source§fn from(x: InputPeerChat) -> Self
fn from(x: InputPeerChat) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPeerChat
impl Identifiable for InputPeerChat
Source§const CONSTRUCTOR_ID: u32 = 0x35a95cb9
const CONSTRUCTOR_ID: u32 = 0x35a95cb9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputPeerChat
impl PartialEq for InputPeerChat
Source§impl Serializable for InputPeerChat
impl Serializable for InputPeerChat
Source§impl TryFrom<InputPeer> for InputPeerChat
impl TryFrom<InputPeer> for InputPeerChat
impl StructuralPartialEq for InputPeerChat
Auto Trait Implementations§
impl Freeze for InputPeerChat
impl RefUnwindSafe for InputPeerChat
impl Send for InputPeerChat
impl Sync for InputPeerChat
impl Unpin for InputPeerChat
impl UnsafeUnpin for InputPeerChat
impl UnwindSafe for InputPeerChat
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