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