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§
Source§impl AsRef<UserPrivacySettingAllowFindingByPhoneNumber> for UserPrivacySettingAllowFindingByPhoneNumber
impl AsRef<UserPrivacySettingAllowFindingByPhoneNumber> for UserPrivacySettingAllowFindingByPhoneNumber
Source§fn as_ref(&self) -> &UserPrivacySettingAllowFindingByPhoneNumber
fn as_ref(&self) -> &UserPrivacySettingAllowFindingByPhoneNumber
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for UserPrivacySettingAllowFindingByPhoneNumber
impl Clone for UserPrivacySettingAllowFindingByPhoneNumber
Source§fn clone(&self) -> UserPrivacySettingAllowFindingByPhoneNumber
fn clone(&self) -> UserPrivacySettingAllowFindingByPhoneNumber
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 Default for UserPrivacySettingAllowFindingByPhoneNumber
impl Default for UserPrivacySettingAllowFindingByPhoneNumber
Source§fn default() -> UserPrivacySettingAllowFindingByPhoneNumber
fn default() -> UserPrivacySettingAllowFindingByPhoneNumber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPrivacySettingAllowFindingByPhoneNumber
impl<'de> Deserialize<'de> for UserPrivacySettingAllowFindingByPhoneNumber
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
impl TDUserPrivacySetting for UserPrivacySettingAllowFindingByPhoneNumber
Auto Trait Implementations§
impl Freeze for UserPrivacySettingAllowFindingByPhoneNumber
impl RefUnwindSafe for UserPrivacySettingAllowFindingByPhoneNumber
impl Send for UserPrivacySettingAllowFindingByPhoneNumber
impl Sync for UserPrivacySettingAllowFindingByPhoneNumber
impl Unpin for UserPrivacySettingAllowFindingByPhoneNumber
impl UnwindSafe for UserPrivacySettingAllowFindingByPhoneNumber
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more