pub enum PrivacyRule {
Everyone,
Contacts,
Nobody,
Custom {
allow_users: Vec<u64>,
deny_users: Vec<u64>,
},
}Expand description
隐私规则
Variants§
Trait Implementations§
Source§impl Clone for PrivacyRule
impl Clone for PrivacyRule
Source§fn clone(&self) -> PrivacyRule
fn clone(&self) -> PrivacyRule
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 PrivacyRule
impl Debug for PrivacyRule
Source§impl<'de> Deserialize<'de> for PrivacyRule
impl<'de> Deserialize<'de> for PrivacyRule
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 PrivacyRule
impl RefUnwindSafe for PrivacyRule
impl Send for PrivacyRule
impl Sync for PrivacyRule
impl Unpin for PrivacyRule
impl UnsafeUnpin for PrivacyRule
impl UnwindSafe for PrivacyRule
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