pub struct AbacRule {
pub resource: String,
pub action: String,
pub required_attributes: HashMap<String, HashSet<String>>,
}Available on crate feature
enterprise only.Expand description
Fields§
§resource: StringMatched resource.
action: StringMatched action.
required_attributes: HashMap<String, HashSet<String>>Required attributes with allowed value sets.
Trait Implementations§
impl Eq for AbacRule
impl StructuralPartialEq for AbacRule
Auto Trait Implementations§
impl Freeze for AbacRule
impl RefUnwindSafe for AbacRule
impl Send for AbacRule
impl Sync for AbacRule
impl Unpin for AbacRule
impl UnsafeUnpin for AbacRule
impl UnwindSafe for AbacRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.