pub enum AgentAutonomyLevel {
None,
Low,
Medium,
High,
Full,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AgentAutonomyLevel
impl Clone for AgentAutonomyLevel
Source§fn clone(&self) -> AgentAutonomyLevel
fn clone(&self) -> AgentAutonomyLevel
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 AgentAutonomyLevel
impl Debug for AgentAutonomyLevel
Source§impl Display for AgentAutonomyLevel
impl Display for AgentAutonomyLevel
Source§impl FromStr for AgentAutonomyLevel
impl FromStr for AgentAutonomyLevel
Source§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<AgentAutonomyLevel, <AgentAutonomyLevel as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AgentAutonomyLevel, <AgentAutonomyLevel as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AgentAutonomyLevel
impl Hash for AgentAutonomyLevel
Source§impl Ord for AgentAutonomyLevel
impl Ord for AgentAutonomyLevel
Source§fn cmp(&self, other: &AgentAutonomyLevel) -> Ordering
fn cmp(&self, other: &AgentAutonomyLevel) -> 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 AgentAutonomyLevel
impl PartialEq for AgentAutonomyLevel
Source§fn eq(&self, other: &AgentAutonomyLevel) -> bool
fn eq(&self, other: &AgentAutonomyLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AgentAutonomyLevel
impl PartialOrd for AgentAutonomyLevel
impl Copy for AgentAutonomyLevel
impl Eq for AgentAutonomyLevel
impl StructuralPartialEq for AgentAutonomyLevel
Auto Trait Implementations§
impl Freeze for AgentAutonomyLevel
impl RefUnwindSafe for AgentAutonomyLevel
impl Send for AgentAutonomyLevel
impl Sync for AgentAutonomyLevel
impl Unpin for AgentAutonomyLevel
impl UnsafeUnpin for AgentAutonomyLevel
impl UnwindSafe for AgentAutonomyLevel
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