pub struct GetMyDescription { /* private fields */ }Expand description
Builder for the getMyDescription method.
Implementations§
Source§impl GetMyDescription
impl GetMyDescription
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 bot description to retrieve (IETF tag, e.g. "en").
Trait Implementations§
Source§impl IntoFuture for GetMyDescription
impl IntoFuture for GetMyDescription
Source§type Output = Result<BotDescription, Error>
type Output = Result<BotDescription, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <GetMyDescription as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <GetMyDescription 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 GetMyDescription
impl !UnwindSafe for GetMyDescription
impl Freeze for GetMyDescription
impl Send for GetMyDescription
impl Sync for GetMyDescription
impl Unpin for GetMyDescription
impl UnsafeUnpin for GetMyDescription
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