pub struct InlineKeyboardButtonTypeCallbackWithPassword {
pub data: String,
}
Expand description
A button that asks for the 2-step verification password of the current user and then sends a callback query to a bot
Fields§
§data: String
Data to be sent to the bot via a callback query
Trait Implementations§
Source§impl Clone for InlineKeyboardButtonTypeCallbackWithPassword
impl Clone for InlineKeyboardButtonTypeCallbackWithPassword
Source§fn clone(&self) -> InlineKeyboardButtonTypeCallbackWithPassword
fn clone(&self) -> InlineKeyboardButtonTypeCallbackWithPassword
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for InlineKeyboardButtonTypeCallbackWithPassword
impl Default for InlineKeyboardButtonTypeCallbackWithPassword
Source§fn default() -> InlineKeyboardButtonTypeCallbackWithPassword
fn default() -> InlineKeyboardButtonTypeCallbackWithPassword
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallbackWithPassword
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallbackWithPassword
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InlineKeyboardButtonTypeCallbackWithPassword
impl PartialEq for InlineKeyboardButtonTypeCallbackWithPassword
Source§fn eq(&self, other: &InlineKeyboardButtonTypeCallbackWithPassword) -> bool
fn eq(&self, other: &InlineKeyboardButtonTypeCallbackWithPassword) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InlineKeyboardButtonTypeCallbackWithPassword
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeCallbackWithPassword
impl RefUnwindSafe for InlineKeyboardButtonTypeCallbackWithPassword
impl Send for InlineKeyboardButtonTypeCallbackWithPassword
impl Sync for InlineKeyboardButtonTypeCallbackWithPassword
impl Unpin for InlineKeyboardButtonTypeCallbackWithPassword
impl UnwindSafe for InlineKeyboardButtonTypeCallbackWithPassword
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