pub enum ChainStop {
Questions {
questions: Vec<String>,
},
Review {
requirements: Vec<String>,
},
Failed {
skill: String,
message: String,
code: Option<String>,
},
Done {
plan_checks: Vec<PlanCheck>,
},
}Expand description
Where plan through stopped: only where a person decides, at a failure, or at the end.
Variants§
Questions
The spec leaves questions open: answer them first.
Review
Review the spec: planning waits for the requirements’ approval.
Failed
A skill failed or was refused; what ran before it is kept.
Fields
Done
Done through the chosen step.
Implementations§
Trait Implementations§
impl Eq for ChainStop
Source§impl JsonSchema for ChainStop
impl JsonSchema for ChainStop
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for ChainStop
Auto Trait Implementations§
impl Freeze for ChainStop
impl RefUnwindSafe for ChainStop
impl Send for ChainStop
impl Sync for ChainStop
impl Unpin for ChainStop
impl UnsafeUnpin for ChainStop
impl UnwindSafe for ChainStop
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