Enum AgentAutonomyLevel
pub enum AgentAutonomyLevel {
None,
Low,
Medium,
High,
Full,
}Variants§
Implementations§
§impl AgentAutonomyLevel
impl AgentAutonomyLevel
pub const ALL: &'static [AgentAutonomyLevel]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AgentAutonomyLevel
impl Clone for AgentAutonomyLevel
§fn clone(&self) -> AgentAutonomyLevel
fn clone(&self) -> AgentAutonomyLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AgentAutonomyLevel
impl Debug for AgentAutonomyLevel
§impl Display for AgentAutonomyLevel
impl Display for AgentAutonomyLevel
§impl FromStr for AgentAutonomyLevel
impl FromStr for AgentAutonomyLevel
§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
§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 more§impl Hash for AgentAutonomyLevel
impl Hash for AgentAutonomyLevel
§impl Ord for AgentAutonomyLevel
impl Ord for AgentAutonomyLevel
§fn cmp(&self, other: &AgentAutonomyLevel) -> Ordering
fn cmp(&self, other: &AgentAutonomyLevel) -> Ordering
1.21.0 · 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
§impl PartialEq for AgentAutonomyLevel
impl PartialEq for AgentAutonomyLevel
§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