Enum tg_botapi::types::PassportElementError [−][src]
pub enum PassportElementError {
DataField {
section_type: String,
field_name: String,
data_hash: String,
message: String,
},
FrontSide {
section_type: String,
data_hash: String,
message: String,
},
ReverseSide {
section_type: String,
file_hash: String,
message: String,
},
Selfie {
section_type: String,
file_hash: String,
message: String,
},
File {
section_type: String,
file_hash: String,
message: String,
},
Files {
section_type: String,
file_hashes: Vec<String>,
message: String,
},
TranslationFile {
section_type: String,
file_hash: String,
message: String,
},
TranslationFiles {
section_type: String,
file_hashes: Vec<String>,
message: String,
},
Unspecified {
section_type: String,
element_hash: String,
message: String,
},
}
Variants
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 PassportElementError
impl Send for PassportElementError
impl Sync for PassportElementError
impl Unpin for PassportElementError
impl UnwindSafe for PassportElementError
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