pub struct UpdateChatParticipantAdd {
pub chat_id: i64,
pub user_id: i64,
pub inviter_id: i64,
pub date: i32,
pub version: i32,
}Expand description
Generated from:
updateChatParticipantAdd#3dda5451 chat_id:long user_id:long inviter_id:long date:int version:int = UpdateFields§
§chat_id: i64§user_id: i64§inviter_id: i64§date: i32§version: i32Trait Implementations§
Source§impl Clone for UpdateChatParticipantAdd
impl Clone for UpdateChatParticipantAdd
Source§fn clone(&self) -> UpdateChatParticipantAdd
fn clone(&self) -> UpdateChatParticipantAdd
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 UpdateChatParticipantAdd
impl Debug for UpdateChatParticipantAdd
Source§impl Deserializable for UpdateChatParticipantAdd
impl Deserializable for UpdateChatParticipantAdd
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<UpdateChatParticipantAdd> for Update
impl From<UpdateChatParticipantAdd> for Update
Source§fn from(x: UpdateChatParticipantAdd) -> Self
fn from(x: UpdateChatParticipantAdd) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChatParticipantAdd
impl Identifiable for UpdateChatParticipantAdd
Source§const CONSTRUCTOR_ID: u32 = 0x3dda5451
const CONSTRUCTOR_ID: u32 = 0x3dda5451
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChatParticipantAdd
impl PartialEq for UpdateChatParticipantAdd
Source§impl TryFrom<Update> for UpdateChatParticipantAdd
impl TryFrom<Update> for UpdateChatParticipantAdd
impl StructuralPartialEq for UpdateChatParticipantAdd
Auto Trait Implementations§
impl Freeze for UpdateChatParticipantAdd
impl RefUnwindSafe for UpdateChatParticipantAdd
impl Send for UpdateChatParticipantAdd
impl Sync for UpdateChatParticipantAdd
impl Unpin for UpdateChatParticipantAdd
impl UnsafeUnpin for UpdateChatParticipantAdd
impl UnwindSafe for UpdateChatParticipantAdd
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