pub struct TelegramLinkRequestBodyTelegramAuthResult {
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
TelegramLinkRequestBodyTelegramAuthResult
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 TelegramLinkRequestBodyTelegramAuthResult
impl Clone for TelegramLinkRequestBodyTelegramAuthResult
Source§fn clone(&self) -> TelegramLinkRequestBodyTelegramAuthResult
fn clone(&self) -> TelegramLinkRequestBodyTelegramAuthResult
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 TelegramLinkRequestBodyTelegramAuthResult
impl<'de> Deserialize<'de> for TelegramLinkRequestBodyTelegramAuthResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TelegramLinkRequestBodyTelegramAuthResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TelegramLinkRequestBodyTelegramAuthResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TelegramLinkRequestBodyTelegramAuthResult> for TelegramLinkRequestBodyTelegramAuthResult
impl From<&TelegramLinkRequestBodyTelegramAuthResult> for TelegramLinkRequestBodyTelegramAuthResult
Source§fn from(
value: &TelegramLinkRequestBodyTelegramAuthResult,
) -> TelegramLinkRequestBodyTelegramAuthResult
fn from( value: &TelegramLinkRequestBodyTelegramAuthResult, ) -> TelegramLinkRequestBodyTelegramAuthResult
Converts to this type from the input type.
Source§impl Serialize for TelegramLinkRequestBodyTelegramAuthResult
impl Serialize for TelegramLinkRequestBodyTelegramAuthResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TelegramLinkRequestBodyTelegramAuthResult
impl RefUnwindSafe for TelegramLinkRequestBodyTelegramAuthResult
impl Send for TelegramLinkRequestBodyTelegramAuthResult
impl Sync for TelegramLinkRequestBodyTelegramAuthResult
impl Unpin for TelegramLinkRequestBodyTelegramAuthResult
impl UnwindSafe for TelegramLinkRequestBodyTelegramAuthResult
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