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 a PreparedKeyboardButton object as serde_json::Value until the
type is formally defined in Priority 4.
Trait Implementations§
Source§impl IntoFuture for SavePreparedKeyboardButton
impl IntoFuture for SavePreparedKeyboardButton
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 Freeze for SavePreparedKeyboardButton
impl !RefUnwindSafe for SavePreparedKeyboardButton
impl Send for SavePreparedKeyboardButton
impl Sync for SavePreparedKeyboardButton
impl Unpin for SavePreparedKeyboardButton
impl UnsafeUnpin for SavePreparedKeyboardButton
impl !UnwindSafe 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