SubProjectFiles

Struct SubProjectFiles 

Source
pub struct SubProjectFiles {
    pub root_path: PathBuf,
    pub project_brief: Option<PathBuf>,
    pub product_context: Option<PathBuf>,
    pub active_context: Option<PathBuf>,
    pub system_patterns: Option<PathBuf>,
    pub tech_context: Option<PathBuf>,
    pub progress: Option<PathBuf>,
    pub tasks_dir: Option<PathBuf>,
    pub task_files: Vec<PathBuf>,
}
Expand description

Sub-project file structure

Represents the complete file layout of an individual sub-project within the workspace. Each sub-project has its own directory with standardized files for project management, technical documentation, and task tracking.

Fields§

§root_path: PathBuf

Sub-project root directory (sub_projects/{project_name}/) Base path for all files belonging to this specific sub-project

§project_brief: Option<PathBuf>

project_brief.md - Sub-project foundation and scope definition Defines what this specific sub-project does and why it exists

§product_context: Option<PathBuf>

product_context.md - User experience and product requirements Documents user needs, functionality, and success criteria

§active_context: Option<PathBuf>

active_context.md - Current work focus and recent changes Tracks what’s currently being worked on and immediate next steps

§system_patterns: Option<PathBuf>

system_patterns.md - Technical architecture and design patterns Documents the technical approach, patterns, and architectural decisions

§tech_context: Option<PathBuf>

tech_context.md - Technology stack and infrastructure details Lists technologies used, dependencies, constraints, and deployment context

§progress: Option<PathBuf>

progress.md - Work completed, current status, and known issues Tracks what’s working, what’s left to build, and current challenges

§tasks_dir: Option<PathBuf>

tasks/ directory - Contains all task management files Directory where individual task files and the task index are stored

§task_files: Vec<PathBuf>

Individual task files (task_*.md files excluding _index.md) All discovered task files with their complete paths for direct access

Trait Implementations§

Source§

impl Clone for SubProjectFiles

Source§

fn clone(&self) -> SubProjectFiles

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SubProjectFiles

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.