Struct teloxide::types::EncryptedPassportElementEmail
source · pub struct EncryptedPassportElementEmail {
pub email: String,
}
Fields§
§email: String
User’s verified email address, available only for email
type.
Trait Implementations§
source§impl Clone for EncryptedPassportElementEmail
impl Clone for EncryptedPassportElementEmail
source§fn clone(&self) -> EncryptedPassportElementEmail
fn clone(&self) -> EncryptedPassportElementEmail
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 EncryptedPassportElementEmail
impl<'de> Deserialize<'de> for EncryptedPassportElementEmail
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EncryptedPassportElementEmail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EncryptedPassportElementEmail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EncryptedPassportElementEmail
impl Hash for EncryptedPassportElementEmail
source§impl PartialEq<EncryptedPassportElementEmail> for EncryptedPassportElementEmail
impl PartialEq<EncryptedPassportElementEmail> for EncryptedPassportElementEmail
source§fn eq(&self, other: &EncryptedPassportElementEmail) -> bool
fn eq(&self, other: &EncryptedPassportElementEmail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EncryptedPassportElementEmail
impl Serialize for EncryptedPassportElementEmail
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 EncryptedPassportElementEmail
impl StructuralEq for EncryptedPassportElementEmail
impl StructuralPartialEq for EncryptedPassportElementEmail
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedPassportElementEmail
impl Send for EncryptedPassportElementEmail
impl Sync for EncryptedPassportElementEmail
impl Unpin for EncryptedPassportElementEmail
impl UnwindSafe for EncryptedPassportElementEmail
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.