pub struct ProjectPlan {Show 15 fields
pub target: String,
pub name: String,
pub mode: ProjectMode,
pub stack: StackPick,
pub stacks: Vec<StackOption>,
pub format: String,
pub formats: Vec<FormatOption>,
pub extensions: Vec<ExtensionChoice>,
pub preset: bool,
pub steps: Vec<PlanStep>,
pub sandbox: SandboxNote,
pub identity: Option<GitIdentity>,
pub refusal: Option<PlanRefusal>,
pub observed: ObservedFolder,
pub digest: String,
}Expand description
The plan.
Fields§
§target: StringThe folder, canonical and absolute.
name: StringThe project’s name (the folder’s).
mode: ProjectModeA new folder or an existing repository.
stack: StackPickThe stack.
stacks: Vec<StackOption>Every stack and whether its tool is installed.
format: StringThe spec format (speckit, openspec).
formats: Vec<FormatOption>Every format and whether its tool is installed.
extensions: Vec<ExtensionChoice>Spec Kit extensions.
preset: boolWhether the speccoder Spec Kit preset is passed to the format’s init.
steps: Vec<PlanStep>The commands, in order.
sandbox: SandboxNoteThe OS sandbox.
identity: Option<GitIdentity>The person’s git identity.
refusal: Option<PlanRefusal>Why it cannot run (Create disabled).
observed: ObservedFolderThe folder as seen.
digest: StringSHA-256 over all of the above.
Implementations§
Source§impl ProjectPlan
impl ProjectPlan
Sourcepub fn network_hosts(&self) -> Vec<String>
pub fn network_hosts(&self) -> Vec<String>
The hosts its network steps reach, in order, once each.
Trait Implementations§
Source§impl Clone for ProjectPlan
impl Clone for ProjectPlan
Source§impl Debug for ProjectPlan
impl Debug for ProjectPlan
Source§impl<'de> Deserialize<'de> for ProjectPlan
impl<'de> Deserialize<'de> for ProjectPlan
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 ProjectPlan
Source§impl JsonSchema for ProjectPlan
impl JsonSchema for ProjectPlan
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 ProjectPlan
impl PartialEq for ProjectPlan
Source§impl Serialize for ProjectPlan
impl Serialize for ProjectPlan
impl StructuralPartialEq for ProjectPlan
Auto Trait Implementations§
impl Freeze for ProjectPlan
impl RefUnwindSafe for ProjectPlan
impl Send for ProjectPlan
impl Sync for ProjectPlan
impl Unpin for ProjectPlan
impl UnsafeUnpin for ProjectPlan
impl UnwindSafe for ProjectPlan
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