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