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