pub struct SetMyShortDescription { /* private fields */ }Expand description
Builder for the setMyShortDescription method.
The short description is shown on the bot’s profile page and sent with sharing links. Up to 120 characters; omit to remove the localised value.
Implementations§
Source§impl SetMyShortDescription
impl SetMyShortDescription
Sourcepub fn short_description(self, d: impl Into<String>) -> Self
pub fn short_description(self, d: impl Into<String>) -> Self
Sets the short description (0–120 characters). Omit to remove the dedicated value.
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 the localised short description (IETF tag, e.g. "en").
Trait Implementations§
Source§impl IntoFuture for SetMyShortDescription
impl IntoFuture for SetMyShortDescription
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetMyShortDescription as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetMyShortDescription 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 Freeze for SetMyShortDescription
impl !RefUnwindSafe for SetMyShortDescription
impl Send for SetMyShortDescription
impl Sync for SetMyShortDescription
impl Unpin for SetMyShortDescription
impl UnsafeUnpin for SetMyShortDescription
impl !UnwindSafe for SetMyShortDescription
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