pub struct InitReport {
pub path: String,
pub checks: Vec<InitCheck>,
pub model: String,
pub wrote: Vec<String>,
pub ran: Vec<InitRun>,
pub instructions: Vec<String>,
pub key: InitKey,
pub region: Option<String>,
pub committed: Option<String>,
pub include: Vec<String>,
pub include_active: bool,
pub worktreeinclude: bool,
}Expand description
Result of speccoder init.
Fields§
§path: StringThe configuration file.
checks: Vec<InitCheck>The checks it declares.
model: Stringprovider/model.
wrote: Vec<String>Files written, relative to the project root.
ran: Vec<InitRun>The checks run on the untouched code (empty: not run).
instructions: Vec<String>The repository instructions found (AGENTS.md, CLAUDE.md).
key: InitKeyThe model key: the variable and whether it is set.
region: Option<String>The region written (Bedrock only).
committed: Option<String>The commit holding speccoder.toml, when one was made.
include: Vec<String>The git-ignored files proposed for [worktree] include (the
checkout’s .env files): copied into each run’s worktree.
include_active: boolThe proposal was written as the setting (confirmed, or --yes);
else it is commented.
worktreeinclude: boolThe checkout has a .worktreeinclude, which runs read already.
Trait Implementations§
Source§impl Clone for InitReport
impl Clone for InitReport
Source§impl Debug for InitReport
impl Debug for InitReport
impl Eq for InitReport
Source§impl JsonSchema for InitReport
impl JsonSchema for InitReport
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 InitReport
impl PartialEq for InitReport
Source§impl Serialize for InitReport
impl Serialize for InitReport
impl StructuralPartialEq for InitReport
Auto Trait Implementations§
impl Freeze for InitReport
impl RefUnwindSafe for InitReport
impl Send for InitReport
impl Sync for InitReport
impl Unpin for InitReport
impl UnsafeUnpin for InitReport
impl UnwindSafe for InitReport
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