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