pub struct ReplaceManagedBotToken { /* private fields */ }Expand description
Builder for the replaceManagedBotToken method (Bot API 9.6).
Revokes the current token of a managed bot and generates a new one.
Returns the new token as a String.
Trait Implementations§
Source§impl IntoFuture for ReplaceManagedBotToken
impl IntoFuture for ReplaceManagedBotToken
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ReplaceManagedBotToken as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <ReplaceManagedBotToken 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 ReplaceManagedBotToken
impl !UnwindSafe for ReplaceManagedBotToken
impl Freeze for ReplaceManagedBotToken
impl Send for ReplaceManagedBotToken
impl Sync for ReplaceManagedBotToken
impl Unpin for ReplaceManagedBotToken
impl UnsafeUnpin for ReplaceManagedBotToken
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