pub struct SetMyDescription { /* private fields */ }Expand description
Builder for the setMyDescription method.
Implementations§
Source§impl SetMyDescription
impl SetMyDescription
Sourcepub fn description(self, d: impl Into<String>) -> Self
pub fn description(self, d: impl Into<String>) -> Self
Sets the new bot description shown on the profile page (up to 512 characters).
Sourcepub fn language_code(self, lc: impl Into<String>) -> Self
pub fn language_code(self, lc: impl Into<String>) -> Self
Sets the language code for localised bot descriptions (IETF tag, e.g. "en").
Trait Implementations§
Source§impl IntoFuture for SetMyDescription
impl IntoFuture for SetMyDescription
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetMyDescription as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetMyDescription 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 SetMyDescription
impl !UnwindSafe for SetMyDescription
impl Freeze for SetMyDescription
impl Send for SetMyDescription
impl Sync for SetMyDescription
impl Unpin for SetMyDescription
impl UnsafeUnpin for SetMyDescription
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