pub struct InstantContext {
pub what_building: Option<String>,
pub tech_stack: Option<String>,
pub deployment: Option<String>,
pub key_files: Vec<String>,
pub commands: HashMap<String, String>,
}Expand description
The fast-path context an AI assistant reads first.
Fields§
§what_building: Option<String>A one-line description of what is being built.
tech_stack: Option<String>The stack in brief, as a single human-readable line.
deployment: Option<String>How and where the project is deployed.
key_files: Vec<String>The files most worth reading first to understand the project.
commands: HashMap<String, String>Named commands (e.g. build, test) → their shell invocations.
Trait Implementations§
Source§impl Clone for InstantContext
impl Clone for InstantContext
Source§fn clone(&self) -> InstantContext
fn clone(&self) -> InstantContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstantContext
impl Debug for InstantContext
Source§impl<'de> Deserialize<'de> for InstantContext
impl<'de> Deserialize<'de> for InstantContext
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 InstantContext
impl RefUnwindSafe for InstantContext
impl Send for InstantContext
impl Sync for InstantContext
impl Unpin for InstantContext
impl UnsafeUnpin for InstantContext
impl UnwindSafe for InstantContext
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