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