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
sourceimpl AsRef<GetPhoneNumberInfoSync> for GetPhoneNumberInfoSync
impl AsRef<GetPhoneNumberInfoSync> for GetPhoneNumberInfoSync
sourcefn as_ref(&self) -> &GetPhoneNumberInfoSync
fn as_ref(&self) -> &GetPhoneNumberInfoSync
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetPhoneNumberInfoSync
impl Clone for GetPhoneNumberInfoSync
sourcefn clone(&self) -> GetPhoneNumberInfoSync
fn clone(&self) -> GetPhoneNumberInfoSync
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetPhoneNumberInfoSync
impl Debug for GetPhoneNumberInfoSync
sourceimpl Default for GetPhoneNumberInfoSync
impl Default for GetPhoneNumberInfoSync
sourcefn default() -> GetPhoneNumberInfoSync
fn default() -> GetPhoneNumberInfoSync
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetPhoneNumberInfoSync
impl<'de> Deserialize<'de> for GetPhoneNumberInfoSync
sourcefn 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
sourceimpl Serialize for GetPhoneNumberInfoSync
impl Serialize for GetPhoneNumberInfoSync
Auto Trait Implementations
impl RefUnwindSafe for GetPhoneNumberInfoSync
impl Send for GetPhoneNumberInfoSync
impl Sync for GetPhoneNumberInfoSync
impl Unpin for GetPhoneNumberInfoSync
impl UnwindSafe for GetPhoneNumberInfoSync
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more