pub enum Role {
Operator,
Auditor,
Gatekeeper,
Custom(String),
}Expand description
Organizational role for an actor within a tenant.
Roles map to capability sets via the RBAC enforcer. The Custom variant
allows org-specific extension beyond the standard triad.
Variants§
Operator
Operator: submits work plans, manages tasks.
Auditor
Auditor: reviews plans, produces approval/rejection decisions.
Gatekeeper
Gatekeeper: executes privileged actions after approval.
Custom(String)
Extension role. The inner string must be non-empty.
Implementations§
Trait Implementations§
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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