Struct tg_flows::PassportElementError
source · pub struct PassportElementError {
pub message: String,
pub kind: PassportElementErrorKind,
}Expand description
This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
Fields§
§message: StringError message.
kind: PassportElementErrorKindImplementations§
Trait Implementations§
source§impl Clone for PassportElementError
impl Clone for PassportElementError
source§fn clone(&self) -> PassportElementError
fn clone(&self) -> PassportElementError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PassportElementError
impl Debug for PassportElementError
source§impl<'de> Deserialize<'de> for PassportElementError
impl<'de> Deserialize<'de> for PassportElementError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PassportElementError
impl Hash for PassportElementError
source§impl PartialEq<PassportElementError> for PassportElementError
impl PartialEq<PassportElementError> for PassportElementError
source§fn eq(&self, other: &PassportElementError) -> bool
fn eq(&self, other: &PassportElementError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.