Struct teloxide::types::EncryptedPassportElementAddress
source · pub struct EncryptedPassportElementAddress {
pub data: String,
}
Fields§
§data: String
Base64-encoded encrypted Telegram Passport element data provided
by the user, available for personal_details
, passport
,
driver_license
, identity_card
, internal_passport
and
address
types. Can be decrypted and verified using the
accompanying EncryptedCredentials
.
Trait Implementations§
source§impl Clone for EncryptedPassportElementAddress
impl Clone for EncryptedPassportElementAddress
source§fn clone(&self) -> EncryptedPassportElementAddress
fn clone(&self) -> EncryptedPassportElementAddress
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<'de> Deserialize<'de> for EncryptedPassportElementAddress
impl<'de> Deserialize<'de> for EncryptedPassportElementAddress
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EncryptedPassportElementAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EncryptedPassportElementAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<EncryptedPassportElementAddress> for EncryptedPassportElementAddress
impl PartialEq<EncryptedPassportElementAddress> for EncryptedPassportElementAddress
source§fn eq(&self, other: &EncryptedPassportElementAddress) -> bool
fn eq(&self, other: &EncryptedPassportElementAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EncryptedPassportElementAddress
impl Serialize for EncryptedPassportElementAddress
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for EncryptedPassportElementAddress
impl StructuralEq for EncryptedPassportElementAddress
impl StructuralPartialEq for EncryptedPassportElementAddress
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedPassportElementAddress
impl Send for EncryptedPassportElementAddress
impl Sync for EncryptedPassportElementAddress
impl Unpin for EncryptedPassportElementAddress
impl UnwindSafe for EncryptedPassportElementAddress
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.