Struct tg_flows::PassportElementErrorFile
source · 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: PassportElementErrorFileType
The section of the user’s Telegram Passport which has the issue.
file_hash: String
Base64-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 copy 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<PassportElementErrorFile> for PassportElementErrorFile
impl PartialEq<PassportElementErrorFile> for PassportElementErrorFile
source§fn eq(&self, other: &PassportElementErrorFile) -> bool
fn eq(&self, other: &PassportElementErrorFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.