pub struct InputPassportElementError {
pub type: PassportElementType,
pub message: String,
pub source: InputPassportElementErrorSource,
}
Expand description
Contains the description of an error in a Telegram Passport element; for bots only
Fields§
§type: PassportElementType
Type of Telegram Passport element that has the error
message: String
Error message
source: InputPassportElementErrorSource
Error source
Trait Implementations§
Source§impl Clone for InputPassportElementError
impl Clone for InputPassportElementError
Source§fn clone(&self) -> InputPassportElementError
fn clone(&self) -> InputPassportElementError
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 InputPassportElementError
impl Debug for InputPassportElementError
Source§impl<'de> Deserialize<'de> for InputPassportElementError
impl<'de> Deserialize<'de> for InputPassportElementError
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
impl StructuralPartialEq for InputPassportElementError
Auto Trait Implementations§
impl Freeze for InputPassportElementError
impl RefUnwindSafe for InputPassportElementError
impl Send for InputPassportElementError
impl Sync for InputPassportElementError
impl Unpin for InputPassportElementError
impl UnwindSafe for InputPassportElementError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more