pub struct MessagePassportDataReceived {
pub elements: Vec<EncryptedPassportElement>,
pub credentials: EncryptedCredentials,
}
Expand description
Telegram Passport data has been received; for bots only
Fields§
§elements: Vec<EncryptedPassportElement>
List of received Telegram Passport elements
credentials: EncryptedCredentials
Encrypted data credentials
Trait Implementations§
Source§impl Clone for MessagePassportDataReceived
impl Clone for MessagePassportDataReceived
Source§fn clone(&self) -> MessagePassportDataReceived
fn clone(&self) -> MessagePassportDataReceived
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 Debug for MessagePassportDataReceived
impl Debug for MessagePassportDataReceived
Source§impl Default for MessagePassportDataReceived
impl Default for MessagePassportDataReceived
Source§fn default() -> MessagePassportDataReceived
fn default() -> MessagePassportDataReceived
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessagePassportDataReceived
impl<'de> Deserialize<'de> for MessagePassportDataReceived
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
impl StructuralPartialEq for MessagePassportDataReceived
Auto Trait Implementations§
impl Freeze for MessagePassportDataReceived
impl RefUnwindSafe for MessagePassportDataReceived
impl Send for MessagePassportDataReceived
impl Sync for MessagePassportDataReceived
impl Unpin for MessagePassportDataReceived
impl UnwindSafe for MessagePassportDataReceived
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