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