pub struct CallbackQueryPayloadDataWithPassword {
pub password: String,
pub data: String,
}
Expand description
The payload for a callback button requiring password
Fields§
§password: String
The 2-step verification password for the current user
data: String
Data that was attached to the callback button
Trait Implementations§
Source§impl Clone for CallbackQueryPayloadDataWithPassword
impl Clone for CallbackQueryPayloadDataWithPassword
Source§fn clone(&self) -> CallbackQueryPayloadDataWithPassword
fn clone(&self) -> CallbackQueryPayloadDataWithPassword
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 CallbackQueryPayloadDataWithPassword
impl Default for CallbackQueryPayloadDataWithPassword
Source§fn default() -> CallbackQueryPayloadDataWithPassword
fn default() -> CallbackQueryPayloadDataWithPassword
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallbackQueryPayloadDataWithPassword
impl<'de> Deserialize<'de> for CallbackQueryPayloadDataWithPassword
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 CallbackQueryPayloadDataWithPassword
impl PartialEq for CallbackQueryPayloadDataWithPassword
Source§fn eq(&self, other: &CallbackQueryPayloadDataWithPassword) -> bool
fn eq(&self, other: &CallbackQueryPayloadDataWithPassword) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CallbackQueryPayloadDataWithPassword
Auto Trait Implementations§
impl Freeze for CallbackQueryPayloadDataWithPassword
impl RefUnwindSafe for CallbackQueryPayloadDataWithPassword
impl Send for CallbackQueryPayloadDataWithPassword
impl Sync for CallbackQueryPayloadDataWithPassword
impl Unpin for CallbackQueryPayloadDataWithPassword
impl UnwindSafe for CallbackQueryPayloadDataWithPassword
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