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