pub enum GoalAction {
Finish,
Idle,
Replan,
Escalate,
Workflow(String),
}Expand description
A goal disposition. Deserialized from a bare string
(finish/idle/replan/escalate) or { workflow: <name> }.
Variants§
Trait Implementations§
Source§impl Clone for GoalAction
impl Clone for GoalAction
Source§fn clone(&self) -> GoalAction
fn clone(&self) -> GoalAction
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 GoalAction
impl Debug for GoalAction
Source§impl<'de> Deserialize<'de> for GoalAction
impl<'de> Deserialize<'de> for GoalAction
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GoalAction
impl PartialEq for GoalAction
impl StructuralPartialEq for GoalAction
Auto Trait Implementations§
impl Freeze for GoalAction
impl RefUnwindSafe for GoalAction
impl Send for GoalAction
impl Sync for GoalAction
impl Unpin for GoalAction
impl UnsafeUnpin for GoalAction
impl UnwindSafe for GoalAction
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