pub struct StoryScenarios {
pub story: String,
pub scenarios: Vec<ScenarioMark>,
pub checkpoint: Option<String>,
}Expand description
A story’s scenarios, each verified by a tick or left for its checkpoint.
Fields§
§story: StringThe story (US3; for OpenSpec the change).
scenarios: Vec<ScenarioMark>Its scenarios in order.
checkpoint: Option<String>The task that judges what is left (none: every task is planning work).
Trait Implementations§
Source§impl Clone for StoryScenarios
impl Clone for StoryScenarios
Source§impl Debug for StoryScenarios
impl Debug for StoryScenarios
Source§impl<'de> Deserialize<'de> for StoryScenarios
impl<'de> Deserialize<'de> for StoryScenarios
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 StoryScenarios
Source§impl JsonSchema for StoryScenarios
impl JsonSchema for StoryScenarios
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 StoryScenarios
impl PartialEq for StoryScenarios
Source§impl Serialize for StoryScenarios
impl Serialize for StoryScenarios
impl StructuralPartialEq for StoryScenarios
Auto Trait Implementations§
impl Freeze for StoryScenarios
impl RefUnwindSafe for StoryScenarios
impl Send for StoryScenarios
impl Sync for StoryScenarios
impl Unpin for StoryScenarios
impl UnsafeUnpin for StoryScenarios
impl UnwindSafe for StoryScenarios
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