pub struct InitData {
pub auth_date: u64,
pub can_send_after: Option<u32>,
pub chat: Option<Chat>,
pub chat_type: Option<ChatType>,
pub chat_instance: Option<String>,
pub data: Option<String>,
pub hash: String,
pub query_id: Option<String>,
pub receiver: Option<User>,
pub start_param: Option<String>,
pub user: Option<User>,
}
Fields§
§auth_date: u64
§can_send_after: Option<u32>
§chat: Option<Chat>
§chat_type: Option<ChatType>
§chat_instance: Option<String>
§data: Option<String>
§hash: String
§query_id: Option<String>
§receiver: Option<User>
§start_param: Option<String>
§user: Option<User>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InitData
impl<'de> Deserialize<'de> for InitData
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
Auto Trait Implementations§
impl Freeze for InitData
impl RefUnwindSafe for InitData
impl Send for InitData
impl Sync for InitData
impl Unpin for InitData
impl UnwindSafe for InitData
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