pub struct SetChatDescription { /* private fields */ }Expand description
Builder for the setChatDescription method.
Pass an empty string or omit description to remove the current description.
Implementations§
Source§impl SetChatDescription
impl SetChatDescription
Sourcepub fn description(self, d: impl Into<String>) -> Self
pub fn description(self, d: impl Into<String>) -> Self
Sets the new description (0–255 characters). Omit to clear the description.
Trait Implementations§
Source§impl IntoFuture for SetChatDescription
impl IntoFuture for SetChatDescription
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetChatDescription as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetChatDescription as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SetChatDescription
impl !UnwindSafe for SetChatDescription
impl Freeze for SetChatDescription
impl Send for SetChatDescription
impl Sync for SetChatDescription
impl Unpin for SetChatDescription
impl UnsafeUnpin 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