pub struct TelegramChallengeResponseRequest {
pub id: i32,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub username: Option<String>,
pub photo_url: Option<String>,
pub auth_date: i32,
pub hash: String,
pub component: Option<String>,
}Expand description
TelegramChallengeResponseRequest : Base class for all challenge responses
Fields§
§id: i32§first_name: Option<String>§last_name: Option<String>§username: Option<String>§photo_url: Option<String>§auth_date: i32§hash: String§component: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for TelegramChallengeResponseRequest
impl Clone for TelegramChallengeResponseRequest
Source§fn clone(&self) -> TelegramChallengeResponseRequest
fn clone(&self) -> TelegramChallengeResponseRequest
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 TelegramChallengeResponseRequest
impl Default for TelegramChallengeResponseRequest
Source§fn default() -> TelegramChallengeResponseRequest
fn default() -> TelegramChallengeResponseRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TelegramChallengeResponseRequest
impl<'de> Deserialize<'de> for TelegramChallengeResponseRequest
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 TelegramChallengeResponseRequest
impl PartialEq for TelegramChallengeResponseRequest
Source§fn eq(&self, other: &TelegramChallengeResponseRequest) -> bool
fn eq(&self, other: &TelegramChallengeResponseRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelegramChallengeResponseRequest
Auto Trait Implementations§
impl Freeze for TelegramChallengeResponseRequest
impl RefUnwindSafe for TelegramChallengeResponseRequest
impl Send for TelegramChallengeResponseRequest
impl Sync for TelegramChallengeResponseRequest
impl Unpin for TelegramChallengeResponseRequest
impl UnsafeUnpin for TelegramChallengeResponseRequest
impl UnwindSafe for TelegramChallengeResponseRequest
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