Struct tg_botapi::types::EncryptedPassportElement [−][src]
pub struct EncryptedPassportElement {
pub element_type: String,
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
element_type: String
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
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
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
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