pub struct SetChatSlowModeDelay { /* private fields */ }
Expand description
Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members rights
Implementations§
Trait Implementations§
Source§impl AsRef<SetChatSlowModeDelay> for SetChatSlowModeDelay
impl AsRef<SetChatSlowModeDelay> for SetChatSlowModeDelay
Source§fn as_ref(&self) -> &SetChatSlowModeDelay
fn as_ref(&self) -> &SetChatSlowModeDelay
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetChatSlowModeDelay
impl Clone for SetChatSlowModeDelay
Source§fn clone(&self) -> SetChatSlowModeDelay
fn clone(&self) -> SetChatSlowModeDelay
Returns a copy 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 Debug for SetChatSlowModeDelay
impl Debug for SetChatSlowModeDelay
Source§impl Default for SetChatSlowModeDelay
impl Default for SetChatSlowModeDelay
Source§fn default() -> SetChatSlowModeDelay
fn default() -> SetChatSlowModeDelay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetChatSlowModeDelay
impl<'de> Deserialize<'de> for SetChatSlowModeDelay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetChatSlowModeDelay
impl RefUnwindSafe for SetChatSlowModeDelay
impl Send for SetChatSlowModeDelay
impl Sync for SetChatSlowModeDelay
impl Unpin for SetChatSlowModeDelay
impl UnwindSafe for SetChatSlowModeDelay
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