pub struct InputPassportElementInternalPassport {
pub internal_passport: InputIdentityDocument,
}Expand description
A Telegram Passport element to be saved containing the user’s internal passport
Fields§
§internal_passport: InputIdentityDocumentThe internal passport to be saved
Trait Implementations§
Source§impl Clone for InputPassportElementInternalPassport
impl Clone for InputPassportElementInternalPassport
Source§fn clone(&self) -> InputPassportElementInternalPassport
fn clone(&self) -> InputPassportElementInternalPassport
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<'de> Deserialize<'de> for InputPassportElementInternalPassport
impl<'de> Deserialize<'de> for InputPassportElementInternalPassport
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 PartialEq for InputPassportElementInternalPassport
impl PartialEq for InputPassportElementInternalPassport
Source§fn eq(&self, other: &InputPassportElementInternalPassport) -> bool
fn eq(&self, other: &InputPassportElementInternalPassport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputPassportElementInternalPassport
Auto Trait Implementations§
impl Freeze for InputPassportElementInternalPassport
impl RefUnwindSafe for InputPassportElementInternalPassport
impl Send for InputPassportElementInternalPassport
impl Sync for InputPassportElementInternalPassport
impl Unpin for InputPassportElementInternalPassport
impl UnwindSafe for InputPassportElementInternalPassport
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