Struct tg_bot_models::PassportElementErrorFrontSide [−][src]
pub struct PassportElementErrorFrontSide { pub source: String, pub ty: String, pub file_hash: String, pub message: String, }
Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.
Fields
source: String
Error source, must be front_side
ty: String
The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”
file_hash: String
Base64-encoded hash of the file with the front side of the document
message: String
Error message
Trait Implementations
impl Debug for PassportElementErrorFrontSide
[src]
impl Debug for PassportElementErrorFrontSide
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PassportElementErrorFrontSide
[src]
impl Clone for PassportElementErrorFrontSide
fn clone(&self) -> PassportElementErrorFrontSide
[src]
fn clone(&self) -> PassportElementErrorFrontSide
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PassportElementErrorFrontSide
[src]
impl PartialEq for PassportElementErrorFrontSide
fn eq(&self, other: &PassportElementErrorFrontSide) -> bool
[src]
fn eq(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PassportElementErrorFrontSide) -> bool
[src]
fn ne(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests for !=
.
impl PartialOrd for PassportElementErrorFrontSide
[src]
impl PartialOrd for PassportElementErrorFrontSide
fn partial_cmp(&self, other: &PassportElementErrorFrontSide) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &PassportElementErrorFrontSide) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &PassportElementErrorFrontSide) -> bool
[src]
fn lt(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &PassportElementErrorFrontSide) -> bool
[src]
fn le(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &PassportElementErrorFrontSide) -> bool
[src]
fn gt(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &PassportElementErrorFrontSide) -> bool
[src]
fn ge(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Auto Trait Implementations
impl Send for PassportElementErrorFrontSide
impl Send for PassportElementErrorFrontSide
impl Sync for PassportElementErrorFrontSide
impl Sync for PassportElementErrorFrontSide