pub struct UserPrivacySettingRuleRestrictContacts { /* private fields */ }
Expand description
A rule to restrict all contacts of a user from doing something
Implementations§
Trait Implementations§
Source§impl AsRef<UserPrivacySettingRuleRestrictContacts> for UserPrivacySettingRuleRestrictContacts
impl AsRef<UserPrivacySettingRuleRestrictContacts> for UserPrivacySettingRuleRestrictContacts
Source§fn as_ref(&self) -> &UserPrivacySettingRuleRestrictContacts
fn as_ref(&self) -> &UserPrivacySettingRuleRestrictContacts
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for UserPrivacySettingRuleRestrictContacts
impl Clone for UserPrivacySettingRuleRestrictContacts
Source§fn clone(&self) -> UserPrivacySettingRuleRestrictContacts
fn clone(&self) -> UserPrivacySettingRuleRestrictContacts
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 UserPrivacySettingRuleRestrictContacts
impl Default for UserPrivacySettingRuleRestrictContacts
Source§fn default() -> UserPrivacySettingRuleRestrictContacts
fn default() -> UserPrivacySettingRuleRestrictContacts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPrivacySettingRuleRestrictContacts
impl<'de> Deserialize<'de> for UserPrivacySettingRuleRestrictContacts
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 TDUserPrivacySettingRule for UserPrivacySettingRuleRestrictContacts
Auto Trait Implementations§
impl Freeze for UserPrivacySettingRuleRestrictContacts
impl RefUnwindSafe for UserPrivacySettingRuleRestrictContacts
impl Send for UserPrivacySettingRuleRestrictContacts
impl Sync for UserPrivacySettingRuleRestrictContacts
impl Unpin for UserPrivacySettingRuleRestrictContacts
impl UnwindSafe for UserPrivacySettingRuleRestrictContacts
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