pub struct PlanningChainReport {
pub unit: Option<String>,
pub through: Through,
pub ran: Vec<ChainStep>,
pub stop: ChainStop,
pub readiness: Option<Readiness>,
pub similar: Vec<SimilarMatch>,
pub source: FeatureSource,
pub next_skill: Option<String>,
}Expand description
Result of speccoder spec <skill> --through <t>: the skills it ran,
where it stopped, and the unit’s readiness. Plan through keeps no
state of its own: the stop is read again from the unit’s files.
Fields§
§unit: Option<String>The unit (once the creating skill made it).
through: ThroughHow far it was asked to go.
ran: Vec<ChainStep>The skills it ran, in order.
stop: ChainStopWhere it stopped.
readiness: Option<Readiness>The unit’s readiness now.
similar: Vec<SimilarMatch>Requirements of other units close to the description (a hint).
source: FeatureSourceWhere the description came from.
next_skill: Option<String>The skill a continuation runs next.
Trait Implementations§
Source§impl Clone for PlanningChainReport
impl Clone for PlanningChainReport
Source§impl Debug for PlanningChainReport
impl Debug for PlanningChainReport
Source§impl JsonSchema for PlanningChainReport
impl JsonSchema for PlanningChainReport
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 moreSource§impl PartialEq for PlanningChainReport
impl PartialEq for PlanningChainReport
Source§impl Serialize for PlanningChainReport
impl Serialize for PlanningChainReport
impl StructuralPartialEq for PlanningChainReport
Auto Trait Implementations§
impl Freeze for PlanningChainReport
impl RefUnwindSafe for PlanningChainReport
impl Send for PlanningChainReport
impl Sync for PlanningChainReport
impl Unpin for PlanningChainReport
impl UnsafeUnpin for PlanningChainReport
impl UnwindSafe for PlanningChainReport
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