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