pub struct InputPassportElementTemporaryRegistration { /* private fields */ }
Expand description
A Telegram Passport element to be saved containing the user’s temporary registration
Implementations§
source§impl InputPassportElementTemporaryRegistration
impl InputPassportElementTemporaryRegistration
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputPassportElementTemporaryRegistrationBuilder
pub fn temporary_registration(&self) -> &InputPersonalDocument
Trait Implementations§
source§impl AsRef<InputPassportElementTemporaryRegistration> for InputPassportElementTemporaryRegistration
impl AsRef<InputPassportElementTemporaryRegistration> for InputPassportElementTemporaryRegistration
source§fn as_ref(&self) -> &InputPassportElementTemporaryRegistration
fn as_ref(&self) -> &InputPassportElementTemporaryRegistration
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputPassportElementTemporaryRegistration
impl Clone for InputPassportElementTemporaryRegistration
source§fn clone(&self) -> InputPassportElementTemporaryRegistration
fn clone(&self) -> InputPassportElementTemporaryRegistration
Returns a copy 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 InputPassportElementTemporaryRegistration
impl Default for InputPassportElementTemporaryRegistration
source§fn default() -> InputPassportElementTemporaryRegistration
fn default() -> InputPassportElementTemporaryRegistration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputPassportElementTemporaryRegistration
impl<'de> Deserialize<'de> for InputPassportElementTemporaryRegistration
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