pub struct PassportElementErrorTranslationFiles {
pub type: String,
pub file_hashes: Vec<String>,
pub message: String,
}Expand description
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change. https://core.telegram.org/bots/api#passportelementerrortranslationfiles
Fields§
§type: StringType of element of the user’s Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
file_hashes: Vec<String>List of base64-encoded file hashes
message: StringError message
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PassportElementErrorTranslationFiles
impl<'de> Deserialize<'de> for PassportElementErrorTranslationFiles
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
Auto Trait Implementations§
impl Freeze for PassportElementErrorTranslationFiles
impl RefUnwindSafe for PassportElementErrorTranslationFiles
impl Send for PassportElementErrorTranslationFiles
impl Sync for PassportElementErrorTranslationFiles
impl Unpin for PassportElementErrorTranslationFiles
impl UnsafeUnpin for PassportElementErrorTranslationFiles
impl UnwindSafe for PassportElementErrorTranslationFiles
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