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
Source§fn eq(&self, other: &GuardCapability) -> bool
fn eq(&self, other: &GuardCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.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