pub struct AiInfo {
pub scratch: String,
}Expand description
AI integration metadata nested under RepositoryView::ai.
Always present. Exposes the scratch directory path (controlled by the AI_SCRATCH
environment variable) so downstream prompts and agents can resolve the per-commit
diff files referenced from commits[].analysis.diff_file and file_diffs[].diff_file.
Fields§
§scratch: StringPath to AI scratch directory.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AiInfo
impl<'de> Deserialize<'de> for AiInfo
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 AiInfo
impl RefUnwindSafe for AiInfo
impl Send for AiInfo
impl Sync for AiInfo
impl Unpin for AiInfo
impl UnsafeUnpin for AiInfo
impl UnwindSafe for AiInfo
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