Struct rust_tdlib::types::MessagePassportDataReceived
source · pub struct MessagePassportDataReceived { /* private fields */ }
Expand description
Telegram Passport data has been received; for bots only
Implementations§
source§impl MessagePassportDataReceived
impl MessagePassportDataReceived
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> MessagePassportDataReceivedBuilder
pub fn elements(&self) -> &Vec<EncryptedPassportElement>
pub fn credentials(&self) -> &EncryptedCredentials
Trait Implementations§
source§impl AsRef<MessagePassportDataReceived> for MessagePassportDataReceived
impl AsRef<MessagePassportDataReceived> for MessagePassportDataReceived
source§fn as_ref(&self) -> &MessagePassportDataReceived
fn as_ref(&self) -> &MessagePassportDataReceived
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for MessagePassportDataReceived
impl Clone for MessagePassportDataReceived
source§fn clone(&self) -> MessagePassportDataReceived
fn clone(&self) -> MessagePassportDataReceived
Returns a copy 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