Struct frankenstein::objects::EncryptedPassportElement [−][src]
pub struct EncryptedPassportElement {
pub type_field: EncryptedPassportElementType,
pub data: Option<String>,
pub phone_number: Option<String>,
pub email: Option<String>,
pub files: Option<Vec<PassportFile>>,
pub front_side: Option<PassportFile>,
pub reverse_side: Option<PassportFile>,
pub selfie: Option<PassportFile>,
pub translation: Option<Vec<PassportFile>>,
pub hash: String,
}
Fields
type_field: EncryptedPassportElementType
data: Option<String>
phone_number: Option<String>
email: Option<String>
files: Option<Vec<PassportFile>>
front_side: Option<PassportFile>
reverse_side: Option<PassportFile>
selfie: Option<PassportFile>
translation: Option<Vec<PassportFile>>
hash: String
Implementations
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 EncryptedPassportElement
impl Send for EncryptedPassportElement
impl Sync for EncryptedPassportElement
impl Unpin for EncryptedPassportElement
impl UnwindSafe for EncryptedPassportElement
Blanket Implementations
Mutably borrows from an owned value. Read more