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