pub struct TelegramAuthenticateRequestBodyTelegramAuthResult {
pub auth_date: Option<f64>,
pub first_name: String,
pub hash: String,
pub id: Option<f64>,
pub last_name: Option<String>,
pub photo_url: Option<String>,
pub username: Option<String>,
}Expand description
TelegramAuthenticateRequestBodyTelegramAuthResult
JSON schema
{
"type": "object",
"required": [
"auth_date",
"first_name",
"hash",
"id"
],
"properties": {
"auth_date": {
"type": [
"number",
"null"
]
},
"first_name": {
"type": "string"
},
"hash": {
"type": "string"
},
"id": {
"type": [
"number",
"null"
]
},
"last_name": {
"type": "string"
},
"photo_url": {
"type": "string"
},
"username": {
"type": "string"
}
}
}Fields§
§auth_date: Option<f64>§first_name: String§hash: String§id: Option<f64>§last_name: Option<String>§photo_url: Option<String>§username: Option<String>Trait Implementations§
Source§impl Clone for TelegramAuthenticateRequestBodyTelegramAuthResult
impl Clone for TelegramAuthenticateRequestBodyTelegramAuthResult
Source§fn clone(&self) -> TelegramAuthenticateRequestBodyTelegramAuthResult
fn clone(&self) -> TelegramAuthenticateRequestBodyTelegramAuthResult
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<'de> Deserialize<'de> for TelegramAuthenticateRequestBodyTelegramAuthResult
impl<'de> Deserialize<'de> for TelegramAuthenticateRequestBodyTelegramAuthResult
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 From<&TelegramAuthenticateRequestBodyTelegramAuthResult> for TelegramAuthenticateRequestBodyTelegramAuthResult
impl From<&TelegramAuthenticateRequestBodyTelegramAuthResult> for TelegramAuthenticateRequestBodyTelegramAuthResult
Source§fn from(value: &TelegramAuthenticateRequestBodyTelegramAuthResult) -> Self
fn from(value: &TelegramAuthenticateRequestBodyTelegramAuthResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TelegramAuthenticateRequestBodyTelegramAuthResult
impl RefUnwindSafe for TelegramAuthenticateRequestBodyTelegramAuthResult
impl Send for TelegramAuthenticateRequestBodyTelegramAuthResult
impl Sync for TelegramAuthenticateRequestBodyTelegramAuthResult
impl Unpin for TelegramAuthenticateRequestBodyTelegramAuthResult
impl UnsafeUnpin for TelegramAuthenticateRequestBodyTelegramAuthResult
impl UnwindSafe for TelegramAuthenticateRequestBodyTelegramAuthResult
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