pub struct FeatureEntry {
pub number: usize,
pub name: String,
pub title: Option<String>,
pub dir: String,
pub current: bool,
pub done: usize,
pub tasks: usize,
pub artifacts: Vec<String>,
}Expand description
One feature (or change) of the project, as speccoder feature lists it.
Fields§
§number: usize1-based position, the number speccoder feature <n> takes.
name: StringDirectory name, e.g. 001-greet.
title: Option<String>The title its spec (or proposal) gives, when it has one.
dir: StringRepository-relative directory.
current: boolThe current one.
done: usizeTicked tasks.
tasks: usizeAll tasks (0: no task list yet).
artifacts: Vec<String>Which planning artifacts exist: spec, plan, tasks.
Trait Implementations§
Source§impl Clone for FeatureEntry
impl Clone for FeatureEntry
Source§impl Debug for FeatureEntry
impl Debug for FeatureEntry
impl Eq for FeatureEntry
Source§impl JsonSchema for FeatureEntry
impl JsonSchema for FeatureEntry
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 FeatureEntry
impl PartialEq for FeatureEntry
Source§impl Serialize for FeatureEntry
impl Serialize for FeatureEntry
impl StructuralPartialEq for FeatureEntry
Auto Trait Implementations§
impl Freeze for FeatureEntry
impl RefUnwindSafe for FeatureEntry
impl Send for FeatureEntry
impl Sync for FeatureEntry
impl Unpin for FeatureEntry
impl UnsafeUnpin for FeatureEntry
impl UnwindSafe for FeatureEntry
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