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