Struct tg_bot_models::PassportElementErrorReverseSide [−][src]
pub struct PassportElementErrorReverseSide { pub source: String, pub ty: String, pub file_hash: String, pub message: String, }
Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.
Fields
source: String
Error source, must be reverse_side
ty: String
The section of the user's Telegram Passport which has the issue, one of “driver_license”, “identity_card”
file_hash: String
Base64-encoded hash of the file with the reverse side of the document
message: String
Error message
Trait Implementations
impl Debug for PassportElementErrorReverseSide
[src]
impl Debug for PassportElementErrorReverseSide
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 PassportElementErrorReverseSide
[src]
impl Clone for PassportElementErrorReverseSide
fn clone(&self) -> PassportElementErrorReverseSide
[src]
fn clone(&self) -> PassportElementErrorReverseSide
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 PassportElementErrorReverseSide
[src]
impl PartialEq for PassportElementErrorReverseSide
fn eq(&self, other: &PassportElementErrorReverseSide) -> bool
[src]
fn eq(&self, other: &PassportElementErrorReverseSide) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PassportElementErrorReverseSide) -> bool
[src]
fn ne(&self, other: &PassportElementErrorReverseSide) -> bool
This method tests for !=
.
impl PartialOrd for PassportElementErrorReverseSide
[src]
impl PartialOrd for PassportElementErrorReverseSide
fn partial_cmp(
&self,
other: &PassportElementErrorReverseSide
) -> Option<Ordering>
[src]
fn partial_cmp(
&self,
other: &PassportElementErrorReverseSide
) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &PassportElementErrorReverseSide) -> bool
[src]
fn lt(&self, other: &PassportElementErrorReverseSide) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &PassportElementErrorReverseSide) -> bool
[src]
fn le(&self, other: &PassportElementErrorReverseSide) -> 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: &PassportElementErrorReverseSide) -> bool
[src]
fn gt(&self, other: &PassportElementErrorReverseSide) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &PassportElementErrorReverseSide) -> bool
[src]
fn ge(&self, other: &PassportElementErrorReverseSide) -> 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 PassportElementErrorReverseSide
impl Send for PassportElementErrorReverseSide
impl Sync for PassportElementErrorReverseSide
impl Sync for PassportElementErrorReverseSide