pub struct UserPrivacySettingAllowFindingByPhoneNumber { /* private fields */ }
Expand description
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
Trait Implementations
sourceimpl AsRef<UserPrivacySettingAllowFindingByPhoneNumber> for UserPrivacySettingAllowFindingByPhoneNumber
impl AsRef<UserPrivacySettingAllowFindingByPhoneNumber> for UserPrivacySettingAllowFindingByPhoneNumber
sourcefn as_ref(&self) -> &UserPrivacySettingAllowFindingByPhoneNumber
fn as_ref(&self) -> &UserPrivacySettingAllowFindingByPhoneNumber
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UserPrivacySettingAllowFindingByPhoneNumber
impl Clone for UserPrivacySettingAllowFindingByPhoneNumber
sourcefn clone(&self) -> UserPrivacySettingAllowFindingByPhoneNumber
fn clone(&self) -> UserPrivacySettingAllowFindingByPhoneNumber
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 Default for UserPrivacySettingAllowFindingByPhoneNumber
impl Default for UserPrivacySettingAllowFindingByPhoneNumber
sourcefn default() -> UserPrivacySettingAllowFindingByPhoneNumber
fn default() -> UserPrivacySettingAllowFindingByPhoneNumber
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserPrivacySettingAllowFindingByPhoneNumber
impl<'de> Deserialize<'de> for UserPrivacySettingAllowFindingByPhoneNumber
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
impl TDUserPrivacySetting for UserPrivacySettingAllowFindingByPhoneNumber
Auto Trait Implementations
impl RefUnwindSafe for UserPrivacySettingAllowFindingByPhoneNumber
impl Send for UserPrivacySettingAllowFindingByPhoneNumber
impl Sync for UserPrivacySettingAllowFindingByPhoneNumber
impl Unpin for UserPrivacySettingAllowFindingByPhoneNumber
impl UnwindSafe for UserPrivacySettingAllowFindingByPhoneNumber
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