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