pub struct PeerChat {
pub chat_id: i64,
}Expand description
Fields§
§chat_id: i64Trait Implementations§
Source§impl Deserializable for PeerChat
impl Deserializable for PeerChat
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 Identifiable for PeerChat
impl Identifiable for PeerChat
Source§const CONSTRUCTOR_ID: u32 = 0x36c6019a
const CONSTRUCTOR_ID: u32 = 0x36c6019a
The constructor ID as specified in the TL schema.
Source§impl Serializable for PeerChat
impl Serializable for PeerChat
impl StructuralPartialEq for PeerChat
Auto Trait Implementations§
impl Freeze for PeerChat
impl RefUnwindSafe for PeerChat
impl Send for PeerChat
impl Sync for PeerChat
impl Unpin for PeerChat
impl UnsafeUnpin for PeerChat
impl UnwindSafe for PeerChat
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