#[repr(u8)]pub enum AutonomyLevel {
ObserveOnly = 0,
Recommend = 1,
Draft = 2,
ExecuteWithHumanApproval = 3,
ExecuteWithinBounds = 4,
DelegateWithinBounds = 5,
}Expand description
Bounded integer ladder describing how autonomous the actor may be.
Repr is u8 so it is canonical in CBOR and orderable as a small integer.
Variants§
ObserveOnly = 0
Recommend = 1
Draft = 2
ExecuteWithHumanApproval = 3
ExecuteWithinBounds = 4
DelegateWithinBounds = 5
Trait Implementations§
Source§impl Clone for AutonomyLevel
impl Clone for AutonomyLevel
Source§fn clone(&self) -> AutonomyLevel
fn clone(&self) -> AutonomyLevel
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 moreimpl Copy for AutonomyLevel
Source§impl Debug for AutonomyLevel
impl Debug for AutonomyLevel
Source§impl<'de> Deserialize<'de> for AutonomyLevel
impl<'de> Deserialize<'de> for AutonomyLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AutonomyLevel
Source§impl Hash for AutonomyLevel
impl Hash for AutonomyLevel
Source§impl Ord for AutonomyLevel
impl Ord for AutonomyLevel
Source§fn cmp(&self, other: &AutonomyLevel) -> Ordering
fn cmp(&self, other: &AutonomyLevel) -> Ordering
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 PartialEq for AutonomyLevel
impl PartialEq for AutonomyLevel
Source§fn eq(&self, other: &AutonomyLevel) -> bool
fn eq(&self, other: &AutonomyLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AutonomyLevel
impl PartialOrd for AutonomyLevel
Source§impl Serialize for AutonomyLevel
impl Serialize for AutonomyLevel
impl StructuralPartialEq for AutonomyLevel
Auto Trait Implementations§
impl Freeze for AutonomyLevel
impl RefUnwindSafe for AutonomyLevel
impl Send for AutonomyLevel
impl Sync for AutonomyLevel
impl Unpin for AutonomyLevel
impl UnsafeUnpin for AutonomyLevel
impl UnwindSafe for AutonomyLevel
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