pub struct UserPrivacySettingRules {
pub rules: Vec<UserPrivacySettingRule>,
}
Expand description
A list of privacy rules. Rules are matched in the specified order. The first matched rule defines the privacy setting for a given user. If no rule matches, the action is not allowed
Fields§
§rules: Vec<UserPrivacySettingRule>
A list of rules
Trait Implementations§
Source§impl Clone for UserPrivacySettingRules
impl Clone for UserPrivacySettingRules
Source§fn clone(&self) -> UserPrivacySettingRules
fn clone(&self) -> UserPrivacySettingRules
Returns a duplicate 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 Debug for UserPrivacySettingRules
impl Debug for UserPrivacySettingRules
Source§impl<'de> Deserialize<'de> for UserPrivacySettingRules
impl<'de> Deserialize<'de> for UserPrivacySettingRules
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
Auto Trait Implementations§
impl Freeze for UserPrivacySettingRules
impl RefUnwindSafe for UserPrivacySettingRules
impl Send for UserPrivacySettingRules
impl Sync for UserPrivacySettingRules
impl Unpin for UserPrivacySettingRules
impl UnwindSafe for UserPrivacySettingRules
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