pub struct PassportElementsWithErrors { /* private fields */ }
Expand description
Contains information about a Telegram Passport elements and corresponding errors
Implementations§
Trait Implementations§
Source§impl AsRef<PassportElementsWithErrors> for PassportElementsWithErrors
impl AsRef<PassportElementsWithErrors> for PassportElementsWithErrors
Source§fn as_ref(&self) -> &PassportElementsWithErrors
fn as_ref(&self) -> &PassportElementsWithErrors
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for PassportElementsWithErrors
impl Clone for PassportElementsWithErrors
Source§fn clone(&self) -> PassportElementsWithErrors
fn clone(&self) -> PassportElementsWithErrors
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PassportElementsWithErrors
impl Debug for PassportElementsWithErrors
Source§impl Default for PassportElementsWithErrors
impl Default for PassportElementsWithErrors
Source§fn default() -> PassportElementsWithErrors
fn default() -> PassportElementsWithErrors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PassportElementsWithErrors
impl<'de> Deserialize<'de> for PassportElementsWithErrors
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
Auto Trait Implementations§
impl Freeze for PassportElementsWithErrors
impl RefUnwindSafe for PassportElementsWithErrors
impl Send for PassportElementsWithErrors
impl Sync for PassportElementsWithErrors
impl Unpin for PassportElementsWithErrors
impl UnwindSafe for PassportElementsWithErrors
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