pub struct ChannelAdminLogEventActionParticipantToggleBan {
pub prev_participant: ChannelParticipant,
pub new_participant: ChannelParticipant,
}Expand description
channelAdminLogEventActionParticipantToggleBan
Generated from:
channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventActionFields§
§prev_participant: ChannelParticipant§new_participant: ChannelParticipantTrait Implementations§
Source§impl Clone for ChannelAdminLogEventActionParticipantToggleBan
impl Clone for ChannelAdminLogEventActionParticipantToggleBan
Source§fn clone(&self) -> ChannelAdminLogEventActionParticipantToggleBan
fn clone(&self) -> ChannelAdminLogEventActionParticipantToggleBan
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 Deserializable for ChannelAdminLogEventActionParticipantToggleBan
impl Deserializable for ChannelAdminLogEventActionParticipantToggleBan
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<ChannelAdminLogEventActionParticipantToggleBan> for ChannelAdminLogEventAction
impl From<ChannelAdminLogEventActionParticipantToggleBan> for ChannelAdminLogEventAction
Source§fn from(x: ChannelAdminLogEventActionParticipantToggleBan) -> Self
fn from(x: ChannelAdminLogEventActionParticipantToggleBan) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelAdminLogEventActionParticipantToggleBan
impl Identifiable for ChannelAdminLogEventActionParticipantToggleBan
Source§const CONSTRUCTOR_ID: u32 = 0xe6d83d7e
const CONSTRUCTOR_ID: u32 = 0xe6d83d7e
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelAdminLogEventActionParticipantToggleBan
impl PartialEq for ChannelAdminLogEventActionParticipantToggleBan
Source§fn eq(&self, other: &ChannelAdminLogEventActionParticipantToggleBan) -> bool
fn eq(&self, other: &ChannelAdminLogEventActionParticipantToggleBan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionParticipantToggleBan
impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionParticipantToggleBan
Source§type Error = ChannelAdminLogEventAction
type Error = ChannelAdminLogEventAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelAdminLogEventActionParticipantToggleBan
Auto Trait Implementations§
impl Freeze for ChannelAdminLogEventActionParticipantToggleBan
impl RefUnwindSafe for ChannelAdminLogEventActionParticipantToggleBan
impl Send for ChannelAdminLogEventActionParticipantToggleBan
impl Sync for ChannelAdminLogEventActionParticipantToggleBan
impl Unpin for ChannelAdminLogEventActionParticipantToggleBan
impl UnsafeUnpin for ChannelAdminLogEventActionParticipantToggleBan
impl UnwindSafe for ChannelAdminLogEventActionParticipantToggleBan
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