Struct rust_tdlib::types::ResendChangePhoneNumberCode
source · pub struct ResendChangePhoneNumberCode { /* private fields */ }
Expand description
Re-sends the authentication code sent to confirm a new phone number for the current user. Works only if the previously received authenticationCodeInfo next_code_type was not null and the server-specified timeout has passed
Implementations§
Trait Implementations§
source§impl AsRef<ResendChangePhoneNumberCode> for ResendChangePhoneNumberCode
impl AsRef<ResendChangePhoneNumberCode> for ResendChangePhoneNumberCode
source§fn as_ref(&self) -> &ResendChangePhoneNumberCode
fn as_ref(&self) -> &ResendChangePhoneNumberCode
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ResendChangePhoneNumberCode
impl Clone for ResendChangePhoneNumberCode
source§fn clone(&self) -> ResendChangePhoneNumberCode
fn clone(&self) -> ResendChangePhoneNumberCode
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 Debug for ResendChangePhoneNumberCode
impl Debug for ResendChangePhoneNumberCode
source§impl Default for ResendChangePhoneNumberCode
impl Default for ResendChangePhoneNumberCode
source§fn default() -> ResendChangePhoneNumberCode
fn default() -> ResendChangePhoneNumberCode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResendChangePhoneNumberCode
impl<'de> Deserialize<'de> for ResendChangePhoneNumberCode
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