pub struct TelegramLinkRequestBodyTelegramWebAppData {
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
TelegramLinkRequestBodyTelegramWebAppData
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 TelegramLinkRequestBodyTelegramWebAppData
impl Clone for TelegramLinkRequestBodyTelegramWebAppData
Source§fn clone(&self) -> TelegramLinkRequestBodyTelegramWebAppData
fn clone(&self) -> TelegramLinkRequestBodyTelegramWebAppData
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 TelegramLinkRequestBodyTelegramWebAppData
impl<'de> Deserialize<'de> for TelegramLinkRequestBodyTelegramWebAppData
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<&TelegramLinkRequestBodyTelegramWebAppData> for TelegramLinkRequestBodyTelegramWebAppData
impl From<&TelegramLinkRequestBodyTelegramWebAppData> for TelegramLinkRequestBodyTelegramWebAppData
Source§fn from(value: &TelegramLinkRequestBodyTelegramWebAppData) -> Self
fn from(value: &TelegramLinkRequestBodyTelegramWebAppData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TelegramLinkRequestBodyTelegramWebAppData
impl RefUnwindSafe for TelegramLinkRequestBodyTelegramWebAppData
impl Send for TelegramLinkRequestBodyTelegramWebAppData
impl Sync for TelegramLinkRequestBodyTelegramWebAppData
impl Unpin for TelegramLinkRequestBodyTelegramWebAppData
impl UnsafeUnpin for TelegramLinkRequestBodyTelegramWebAppData
impl UnwindSafe for TelegramLinkRequestBodyTelegramWebAppData
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