[−][src]Enum rust_tdlib::types::PassportElementErrorSource
Contains the description of an error in a Telegram Passport element
Variants
DataField(PassportElementErrorSourceDataField)
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
FrontSide(PassportElementErrorSourceFrontSide)
The front side of the document contains an error. The error will be considered resolved when the file with the front side changes
ReverseSide(PassportElementErrorSourceReverseSide)
The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes
Selfie(PassportElementErrorSourceSelfie)
The selfie with the document contains an error. The error will be considered resolved when the file with the selfie changes
TranslationFile(PassportElementErrorSourceTranslationFile)
One of files with the translation of the document contains an error. The error will be considered resolved when the file changes
TranslationFiles(PassportElementErrorSourceTranslationFiles)
The translation of the document contains an error. The error will be considered resolved when the list of translation files changes
Unspecified(PassportElementErrorSourceUnspecified)
The element contains an error in an unspecified place. The error will be considered resolved when new data is added
Implementations
impl PassportElementErrorSource
[src]
Trait Implementations
impl AsRef<PassportElementErrorSource> for PassportElementErrorSource
[src]
pub fn as_ref(&self) -> &PassportElementErrorSource
[src]
impl Clone for PassportElementErrorSource
[src]
pub fn clone(&self) -> PassportElementErrorSource
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PassportElementErrorSource
[src]
impl Default for PassportElementErrorSource
[src]
impl<'de> Deserialize<'de> for PassportElementErrorSource
[src]
pub fn deserialize<D>(
deserializer: D
) -> Result<PassportElementErrorSource, D::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<PassportElementErrorSource, D::Error> where
D: Deserializer<'de>,
impl RObject for PassportElementErrorSource
[src]
impl Serialize for PassportElementErrorSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for PassportElementErrorSource
[src]
impl Send for PassportElementErrorSource
[src]
impl Sync for PassportElementErrorSource
[src]
impl Unpin for PassportElementErrorSource
[src]
impl UnwindSafe for PassportElementErrorSource
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,