Struct rust_tdlib::types::SetChatPermissions
source · 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