#[non_exhaustive]pub enum AccessRuleKind {
Positive,
Negative,
}Expand description
Which rule array of an Access Rights object a rule comes from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Positive
Positive_Access_Rules, the rules that grant access.
Negative
Negative_Access_Rules, the rules that deny it.
Implementations§
Source§impl AccessRuleKind
impl AccessRuleKind
Sourcepub fn property(self) -> PropertyIdentifier
pub fn property(self) -> PropertyIdentifier
The property holding the rules of this kind.
Trait Implementations§
Source§impl Clone for AccessRuleKind
impl Clone for AccessRuleKind
impl Copy for AccessRuleKind
Source§impl Debug for AccessRuleKind
impl Debug for AccessRuleKind
impl Eq for AccessRuleKind
Source§impl Hash for AccessRuleKind
impl Hash for AccessRuleKind
Source§impl PartialEq for AccessRuleKind
impl PartialEq for AccessRuleKind
impl StructuralPartialEq for AccessRuleKind
Auto Trait Implementations§
impl Freeze for AccessRuleKind
impl RefUnwindSafe for AccessRuleKind
impl Send for AccessRuleKind
impl Sync for AccessRuleKind
impl Unpin for AccessRuleKind
impl UnsafeUnpin for AccessRuleKind
impl UnwindSafe for AccessRuleKind
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