[][src]Struct rtdlib::types::UserPrivacySettingAllowFindingByPhoneNumber

pub struct UserPrivacySettingAllowFindingByPhoneNumber { /* fields omitted */ }

A privacy setting for managing whether the user can be found by their phone number. Checked only if the phone number is not known to the other user. Can be set only to "Allow contacts" or "Allow all"

Implementations

impl UserPrivacySettingAllowFindingByPhoneNumber[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDUserPrivacySettingAllowFindingByPhoneNumberBuilder[src]

Trait Implementations

impl AsRef<UserPrivacySettingAllowFindingByPhoneNumber> for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl Clone for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl Debug for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl Default for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl<'de> Deserialize<'de> for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl RObject for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl Serialize for UserPrivacySettingAllowFindingByPhoneNumber[src]

impl TDUserPrivacySetting for UserPrivacySettingAllowFindingByPhoneNumber[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.