Struct tgbot::types::SetChatDescription
source · pub struct SetChatDescription { /* private fields */ }
Expand description
Changes a description of a chat.
The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.
Implementations§
source§impl SetChatDescription
impl SetChatDescription
sourcepub fn with_description<T>(self, value: T) -> Self
pub fn with_description<T>(self, value: T) -> Self
Trait Implementations§
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 Method for SetChatDescription
impl Method for SetChatDescription
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