pub struct PassportElementPassportRegistration {
pub passport_registration: PersonalDocument,
}Expand description
A Telegram Passport element containing the user’s passport registration pages
Fields§
§passport_registration: PersonalDocumentPassport registration pages
Trait Implementations§
Source§impl Clone for PassportElementPassportRegistration
impl Clone for PassportElementPassportRegistration
Source§fn clone(&self) -> PassportElementPassportRegistration
fn clone(&self) -> PassportElementPassportRegistration
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 Default for PassportElementPassportRegistration
impl Default for PassportElementPassportRegistration
Source§fn default() -> PassportElementPassportRegistration
fn default() -> PassportElementPassportRegistration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PassportElementPassportRegistration
impl<'de> Deserialize<'de> for PassportElementPassportRegistration
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 PassportElementPassportRegistration
impl PartialEq for PassportElementPassportRegistration
Source§fn eq(&self, other: &PassportElementPassportRegistration) -> bool
fn eq(&self, other: &PassportElementPassportRegistration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PassportElementPassportRegistration
Auto Trait Implementations§
impl Freeze for PassportElementPassportRegistration
impl RefUnwindSafe for PassportElementPassportRegistration
impl Send for PassportElementPassportRegistration
impl Sync for PassportElementPassportRegistration
impl Unpin for PassportElementPassportRegistration
impl UnwindSafe for PassportElementPassportRegistration
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