[][src]Struct telexide::api::types::PassportElementErrorFrontSide

pub struct PassportElementErrorFrontSide {
    pub section_type: TelegramPassportElement,
    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

section_type: TelegramPassportElement

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 Clone for PassportElementErrorFrontSide[src]

impl Debug for PassportElementErrorFrontSide[src]

impl<'de> Deserialize<'de> for PassportElementErrorFrontSide[src]

impl PartialEq<PassportElementErrorFrontSide> for PassportElementErrorFrontSide[src]

impl Serialize for PassportElementErrorFrontSide[src]

impl StructuralPartialEq for PassportElementErrorFrontSide[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any