pub struct GetMyShortDescription { /* private fields */ }Expand description
Builder for the getMyShortDescription method.
Implementations§
Source§impl GetMyShortDescription
impl GetMyShortDescription
Sourcepub fn language_code(self, lc: impl Into<String>) -> Self
pub fn language_code(self, lc: impl Into<String>) -> Self
The language code for the localised short description to retrieve (IETF tag, e.g. "en").
Trait Implementations§
Source§impl IntoFuture for GetMyShortDescription
impl IntoFuture for GetMyShortDescription
Source§type Output = Result<BotShortDescription, Error>
type Output = Result<BotShortDescription, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <GetMyShortDescription as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <GetMyShortDescription 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 GetMyShortDescription
impl !RefUnwindSafe for GetMyShortDescription
impl Send for GetMyShortDescription
impl Sync for GetMyShortDescription
impl Unpin for GetMyShortDescription
impl UnsafeUnpin for GetMyShortDescription
impl !UnwindSafe for GetMyShortDescription
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