pub struct AiInstructions {
pub warnings: Vec<String>,
pub working_style: Option<HashMap<String, String>>,
}Expand description
Agent-facing guardrails and working-style notes, surfaced in AGENTS.md.
Fields§
§warnings: Vec<String>Free-form warnings an agent should see up front (e.g. “use bun, not npm”).
working_style: Option<HashMap<String, String>>Loose key/value working-style notes (human↔assistant interaction, not repo rules).
Trait Implementations§
Source§impl Clone for AiInstructions
impl Clone for AiInstructions
Source§fn clone(&self) -> AiInstructions
fn clone(&self) -> AiInstructions
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 AiInstructions
impl Debug for AiInstructions
Source§impl<'de> Deserialize<'de> for AiInstructions
impl<'de> Deserialize<'de> for AiInstructions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AiInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AiInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AiInstructions
impl Serialize for AiInstructions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AiInstructions
impl RefUnwindSafe for AiInstructions
impl Send for AiInstructions
impl Sync for AiInstructions
impl Unpin for AiInstructions
impl UnsafeUnpin for AiInstructions
impl UnwindSafe for AiInstructions
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