pub enum GuardCapability {
EditRepo(String),
RegenDocs(String),
PlanPin,
RunValidation(String),
EvalGated,
}Expand description
Capability a mission must hold to perform a guarded Atelier action.
Variants§
EditRepo(String)
Permission to edit files in the named repository.
RegenDocs(String)
Permission to regenerate docs for the named repository.
PlanPin
Permission to plan a repos.toml commit pin update.
RunValidation(String)
Permission to run the named repository’s validation command.
EvalGated
Permission to run a gated eval action.
Trait Implementations§
Source§impl Clone for GuardCapability
impl Clone for GuardCapability
Source§fn clone(&self) -> GuardCapability
fn clone(&self) -> GuardCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GuardCapability
impl Debug for GuardCapability
impl Eq for GuardCapability
Source§impl PartialEq for GuardCapability
impl PartialEq for GuardCapability
impl StructuralPartialEq for GuardCapability
Auto Trait Implementations§
impl Freeze for GuardCapability
impl RefUnwindSafe for GuardCapability
impl Send for GuardCapability
impl Sync for GuardCapability
impl Unpin for GuardCapability
impl UnsafeUnpin for GuardCapability
impl UnwindSafe for GuardCapability
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.