pub struct PassportElementErrorFile {
pub type: PassportElementErrorFileType,
pub file_hash: String,
}Expand description
Represents an issue with a document scan.
The error is considered resolved when the file with the document scan changes.
Fields§
§type: PassportElementErrorFileTypeThe section of the user’s Telegram Passport which has the issue.
file_hash: StringBase64-encoded file hash.
Implementations§
Trait Implementations§
Source§impl Clone for PassportElementErrorFile
impl Clone for PassportElementErrorFile
Source§fn clone(&self) -> PassportElementErrorFile
fn clone(&self) -> PassportElementErrorFile
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 Debug for PassportElementErrorFile
impl Debug for PassportElementErrorFile
Source§impl<'de> Deserialize<'de> for PassportElementErrorFile
impl<'de> Deserialize<'de> for PassportElementErrorFile
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 Hash for PassportElementErrorFile
impl Hash for PassportElementErrorFile
Source§impl PartialEq for PassportElementErrorFile
impl PartialEq for PassportElementErrorFile
Source§impl Serialize for PassportElementErrorFile
impl Serialize for PassportElementErrorFile
impl Eq for PassportElementErrorFile
impl StructuralPartialEq for PassportElementErrorFile
Auto Trait Implementations§
impl Freeze for PassportElementErrorFile
impl RefUnwindSafe for PassportElementErrorFile
impl Send for PassportElementErrorFile
impl Sync for PassportElementErrorFile
impl Unpin for PassportElementErrorFile
impl UnwindSafe for PassportElementErrorFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Erasable for T
impl<T> Erasable for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more