pub struct EncryptedPassportElementEmail {
pub email: String,
pub hash: String,
}Expand description
Represents an E-Mail.
Fields§
§email: StringA user’s verified email address.
hash: StringA base64-encoded element hash for
using in crate::types::PassportElementError::unspecified.
Implementations§
Trait Implementations§
Source§impl Clone for EncryptedPassportElementEmail
impl Clone for EncryptedPassportElementEmail
Source§fn clone(&self) -> EncryptedPassportElementEmail
fn clone(&self) -> EncryptedPassportElementEmail
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<'de> Deserialize<'de> for EncryptedPassportElementEmail
impl<'de> Deserialize<'de> for EncryptedPassportElementEmail
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
Source§impl From<EncryptedPassportElementEmail> for EncryptedPassportElement
impl From<EncryptedPassportElementEmail> for EncryptedPassportElement
Source§fn from(value: EncryptedPassportElementEmail) -> Self
fn from(value: EncryptedPassportElementEmail) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptedPassportElementEmail
impl PartialEq for EncryptedPassportElementEmail
Source§fn eq(&self, other: &EncryptedPassportElementEmail) -> bool
fn eq(&self, other: &EncryptedPassportElementEmail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EncryptedPassportElementEmail
impl PartialOrd for EncryptedPassportElementEmail
impl StructuralPartialEq for EncryptedPassportElementEmail
Auto Trait Implementations§
impl Freeze for EncryptedPassportElementEmail
impl RefUnwindSafe for EncryptedPassportElementEmail
impl Send for EncryptedPassportElementEmail
impl Sync for EncryptedPassportElementEmail
impl Unpin for EncryptedPassportElementEmail
impl UnwindSafe for EncryptedPassportElementEmail
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