pub struct SetChatPermissions { /* private fields */ }
Expand description
Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right
Implementations§
Trait Implementations§
Source§impl AsRef<SetChatPermissions> for SetChatPermissions
impl AsRef<SetChatPermissions> for SetChatPermissions
Source§fn as_ref(&self) -> &SetChatPermissions
fn as_ref(&self) -> &SetChatPermissions
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetChatPermissions
impl Clone for SetChatPermissions
Source§fn clone(&self) -> SetChatPermissions
fn clone(&self) -> SetChatPermissions
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 SetChatPermissions
impl Debug for SetChatPermissions
Source§impl Default for SetChatPermissions
impl Default for SetChatPermissions
Source§fn default() -> SetChatPermissions
fn default() -> SetChatPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetChatPermissions
impl<'de> Deserialize<'de> for SetChatPermissions
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 SetChatPermissions
impl RefUnwindSafe for SetChatPermissions
impl Send for SetChatPermissions
impl Sync for SetChatPermissions
impl Unpin for SetChatPermissions
impl UnwindSafe for SetChatPermissions
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