[][src]Enum rust_tdlib::types::PassportElementErrorSource

Contains the description of an error in a Telegram Passport element

Variants

One of the data fields contains an error. The error will be considered resolved when the value of the field changes

The file contains an error. The error will be considered resolved when the file changes

The list of attached files contains an error. The error will be considered resolved when the list of files changes

The front side of the document contains an error. The error will be considered resolved when the file with the front side changes

The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes

The selfie with the document contains an error. The error will be considered resolved when the file with the selfie changes

One of files with the translation of the document contains an error. The error will be considered resolved when the file changes

The translation of the document contains an error. The error will be considered resolved when the list of translation files changes

The element contains an error in an unspecified place. The error will be considered resolved when new data is added

Implementations

impl PassportElementErrorSource[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

Trait Implementations

impl AsRef<PassportElementErrorSource> for PassportElementErrorSource[src]

impl Clone for PassportElementErrorSource[src]

impl Debug for PassportElementErrorSource[src]

impl Default for PassportElementErrorSource[src]

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

impl RObject for PassportElementErrorSource[src]

impl Serialize for PassportElementErrorSource[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,