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