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<'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
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