pub struct PassportElementTypeTemporaryRegistration { /* private fields */ }
Expand description
A Telegram Passport element containing the user’s temporary registration
Implementations§
Trait Implementations§
source§impl AsRef<PassportElementTypeTemporaryRegistration> for PassportElementTypeTemporaryRegistration
impl AsRef<PassportElementTypeTemporaryRegistration> for PassportElementTypeTemporaryRegistration
source§fn as_ref(&self) -> &PassportElementTypeTemporaryRegistration
fn as_ref(&self) -> &PassportElementTypeTemporaryRegistration
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PassportElementTypeTemporaryRegistration
impl Clone for PassportElementTypeTemporaryRegistration
source§fn clone(&self) -> PassportElementTypeTemporaryRegistration
fn clone(&self) -> PassportElementTypeTemporaryRegistration
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 PassportElementTypeTemporaryRegistration
impl Default for PassportElementTypeTemporaryRegistration
source§fn default() -> PassportElementTypeTemporaryRegistration
fn default() -> PassportElementTypeTemporaryRegistration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PassportElementTypeTemporaryRegistration
impl<'de> Deserialize<'de> for PassportElementTypeTemporaryRegistration
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