Struct rust_tdlib::types::GetPhoneNumberInfoSync
source · pub struct GetPhoneNumberInfoSync { /* private fields */ }
Expand description
Returns information about a phone number by its prefix synchronously. getCountries must be called at least once after changing localization to the specified language if properly localized country information is expected. Can be called synchronously
Implementations§
Trait Implementations§
source§impl AsRef<GetPhoneNumberInfoSync> for GetPhoneNumberInfoSync
impl AsRef<GetPhoneNumberInfoSync> for GetPhoneNumberInfoSync
source§fn as_ref(&self) -> &GetPhoneNumberInfoSync
fn as_ref(&self) -> &GetPhoneNumberInfoSync
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetPhoneNumberInfoSync
impl Clone for GetPhoneNumberInfoSync
source§fn clone(&self) -> GetPhoneNumberInfoSync
fn clone(&self) -> GetPhoneNumberInfoSync
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 GetPhoneNumberInfoSync
impl Debug for GetPhoneNumberInfoSync
source§impl Default for GetPhoneNumberInfoSync
impl Default for GetPhoneNumberInfoSync
source§fn default() -> GetPhoneNumberInfoSync
fn default() -> GetPhoneNumberInfoSync
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetPhoneNumberInfoSync
impl<'de> Deserialize<'de> for GetPhoneNumberInfoSync
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