pub struct SetPassportElementErrors {
pub user_id: i32,
pub errors: Vec<InputPassportElementError>,
}
Expand description
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed
Fields§
§user_id: i32
User identifier
errors: Vec<InputPassportElementError>
The errors
Trait Implementations§
Source§impl Clone for SetPassportElementErrors
impl Clone for SetPassportElementErrors
Source§fn clone(&self) -> SetPassportElementErrors
fn clone(&self) -> SetPassportElementErrors
Returns a duplicate 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 SetPassportElementErrors
impl Debug for SetPassportElementErrors
Source§impl<'de> Deserialize<'de> for SetPassportElementErrors
impl<'de> Deserialize<'de> for SetPassportElementErrors
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 Method for SetPassportElementErrors
impl Method for SetPassportElementErrors
Auto Trait Implementations§
impl Freeze for SetPassportElementErrors
impl RefUnwindSafe for SetPassportElementErrors
impl Send for SetPassportElementErrors
impl Sync for SetPassportElementErrors
impl Unpin for SetPassportElementErrors
impl UnwindSafe for SetPassportElementErrors
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