pub struct SavePreparedKeyboardButton { /* private fields */ }Expand description
Builder for the savePreparedKeyboardButton method (Bot API 9.6).
Stores a keyboard button that can be used by a user within a Mini App.
The button must be of type request_users, request_chat, or request_managed_bot.
Returns the prepared button.
Trait Implementations§
Source§impl IntoFuture for SavePreparedKeyboardButton
impl IntoFuture for SavePreparedKeyboardButton
Source§type Output = Result<PreparedKeyboardButton, Error>
type Output = Result<PreparedKeyboardButton, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SavePreparedKeyboardButton as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SavePreparedKeyboardButton 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 SavePreparedKeyboardButton
impl !UnwindSafe for SavePreparedKeyboardButton
impl Freeze for SavePreparedKeyboardButton
impl Send for SavePreparedKeyboardButton
impl Sync for SavePreparedKeyboardButton
impl Unpin for SavePreparedKeyboardButton
impl UnsafeUnpin for SavePreparedKeyboardButton
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