pub struct ProjectMemory {
pub name: Option<String>,
pub description: Option<String>,
pub tech_stack: Vec<String>,
pub design_patterns: Vec<String>,
pub constraints: Vec<String>,
pub agent_instructions: HashMap<String, String>,
pub ignore_patterns: Vec<String>,
}Expand description
Project memory configuration from PERSPT.md
Fields§
§name: Option<String>Project name
description: Option<String>Project description
tech_stack: Vec<String>Tech stack information
design_patterns: Vec<String>Design patterns to follow
constraints: Vec<String>Architectural constraints
agent_instructions: HashMap<String, String>Custom agent instructions
ignore_patterns: Vec<String>File patterns to ignore
Implementations§
Source§impl ProjectMemory
impl ProjectMemory
Sourcepub fn to_context_string(&self) -> String
pub fn to_context_string(&self) -> String
Build a context string for LLM prompts
Trait Implementations§
Source§impl Clone for ProjectMemory
impl Clone for ProjectMemory
Source§fn clone(&self) -> ProjectMemory
fn clone(&self) -> ProjectMemory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectMemory
impl Debug for ProjectMemory
Source§impl Default for ProjectMemory
impl Default for ProjectMemory
Source§fn default() -> ProjectMemory
fn default() -> ProjectMemory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectMemory
impl<'de> Deserialize<'de> for ProjectMemory
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
Auto Trait Implementations§
impl Freeze for ProjectMemory
impl RefUnwindSafe for ProjectMemory
impl Send for ProjectMemory
impl Sync for ProjectMemory
impl Unpin for ProjectMemory
impl UnwindSafe for ProjectMemory
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