pub enum ActionSet {
All,
Only(BTreeSet<Action>),
}Expand description
The set of actions a repo: scope grants.
All is distinct from an explicit enumeration of every action: it is
what an atom with no action= query means, and it is what containment
treats as a genuine superset rather than an enumeration that happens to
be complete, so a ceiling can grant All once and still contain a
profile that later adds a fourth action this grammar does not know about
yet — which an enumerated {create, update, delete} could not.
Variants§
All
No action= query — every action this scope kind defines.
Only(BTreeSet<Action>)
An explicit action= list.
Implementations§
Trait Implementations§
Source§impl Ord for ActionSet
impl Ord for ActionSet
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ActionSet
impl PartialOrd for ActionSet
impl Eq for ActionSet
impl StructuralPartialEq for ActionSet
Auto Trait Implementations§
impl Freeze for ActionSet
impl RefUnwindSafe for ActionSet
impl Send for ActionSet
impl Sync for ActionSet
impl Unpin for ActionSet
impl UnsafeUnpin for ActionSet
impl UnwindSafe for ActionSet
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.