pub struct UpdateChatParticipant {
pub chat_id: i64,
pub date: i32,
pub actor_id: i64,
pub user_id: i64,
pub prev_participant: Option<ChatParticipant>,
pub new_participant: Option<ChatParticipant>,
pub invite: Option<ExportedChatInvite>,
pub qts: i32,
}Expand description
Generated from:
updateChatParticipant#d087663a flags:# chat_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChatParticipant new_participant:flags.1?ChatParticipant invite:flags.2?ExportedChatInvite qts:int = UpdateFields§
§chat_id: i64§date: i32§actor_id: i64§user_id: i64§prev_participant: Option<ChatParticipant>§new_participant: Option<ChatParticipant>§invite: Option<ExportedChatInvite>§qts: i32Trait Implementations§
Source§impl Clone for UpdateChatParticipant
impl Clone for UpdateChatParticipant
Source§fn clone(&self) -> UpdateChatParticipant
fn clone(&self) -> UpdateChatParticipant
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 UpdateChatParticipant
impl Debug for UpdateChatParticipant
Source§impl Deserializable for UpdateChatParticipant
impl Deserializable for UpdateChatParticipant
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<UpdateChatParticipant> for Update
impl From<UpdateChatParticipant> for Update
Source§fn from(x: UpdateChatParticipant) -> Self
fn from(x: UpdateChatParticipant) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChatParticipant
impl Identifiable for UpdateChatParticipant
Source§const CONSTRUCTOR_ID: u32 = 0xd087663a
const CONSTRUCTOR_ID: u32 = 0xd087663a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChatParticipant
impl PartialEq for UpdateChatParticipant
Source§impl Serializable for UpdateChatParticipant
impl Serializable for UpdateChatParticipant
Source§impl TryFrom<Update> for UpdateChatParticipant
impl TryFrom<Update> for UpdateChatParticipant
impl StructuralPartialEq for UpdateChatParticipant
Auto Trait Implementations§
impl Freeze for UpdateChatParticipant
impl RefUnwindSafe for UpdateChatParticipant
impl Send for UpdateChatParticipant
impl Sync for UpdateChatParticipant
impl Unpin for UpdateChatParticipant
impl UnsafeUnpin for UpdateChatParticipant
impl UnwindSafe for UpdateChatParticipant
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