pub enum AutopilotObjectiveChangedStatus {
Active,
Paused,
CapReached,
Completed,
Unknown,
}Expand description
Current autopilot objective status, if one exists
Variants§
Active
Objective is active and can drive autopilot continuations.
Paused
Objective is paused and will not drive autopilot continuations.
CapReached
Legacy objective state indicating the previous continuation cap was reached.
Completed
Objective was completed by the agent.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for AutopilotObjectiveChangedStatus
impl Clone for AutopilotObjectiveChangedStatus
Source§fn clone(&self) -> AutopilotObjectiveChangedStatus
fn clone(&self) -> AutopilotObjectiveChangedStatus
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 Default for AutopilotObjectiveChangedStatus
impl Default for AutopilotObjectiveChangedStatus
Source§fn default() -> AutopilotObjectiveChangedStatus
fn default() -> AutopilotObjectiveChangedStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutopilotObjectiveChangedStatus
impl<'de> Deserialize<'de> for AutopilotObjectiveChangedStatus
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 AutopilotObjectiveChangedStatus
Source§impl PartialEq for AutopilotObjectiveChangedStatus
impl PartialEq for AutopilotObjectiveChangedStatus
Source§fn eq(&self, other: &AutopilotObjectiveChangedStatus) -> bool
fn eq(&self, other: &AutopilotObjectiveChangedStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutopilotObjectiveChangedStatus
Auto Trait Implementations§
impl Freeze for AutopilotObjectiveChangedStatus
impl RefUnwindSafe for AutopilotObjectiveChangedStatus
impl Send for AutopilotObjectiveChangedStatus
impl Sync for AutopilotObjectiveChangedStatus
impl Unpin for AutopilotObjectiveChangedStatus
impl UnsafeUnpin for AutopilotObjectiveChangedStatus
impl UnwindSafe for AutopilotObjectiveChangedStatus
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