Struct telexide_fork::model::PassportData [−][src]
pub struct PassportData {
pub data: Vec<EncryptedCredentials>,
pub credentials: EncryptedCredentials,
}Expand description
Contains information about Telegram Passport data shared with the bot by the user.
Fields
data: Vec<EncryptedCredentials>Vec with information about documents and other Telegram Passport elements that was shared with the bot
credentials: EncryptedCredentialsEncrypted credentials required to decrypt the data
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PassportData
impl Send for PassportData
impl Sync for PassportData
impl Unpin for PassportData
impl UnwindSafe for PassportData
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more