pub struct RunResult {
pub outcome: RunOutcome,
pub skip_reason: Option<SkipReason>,
pub new_grains: u64,
pub new_error_events: u64,
pub proposed: u64,
pub deduped: u64,
pub stored: u64,
pub auto_applied: u64,
pub analyzers_run: Vec<String>,
pub analyzers_skipped: Vec<AnalyzerSkip>,
pub llm_funnel: Option<LlmFunnel>,
}Expand description
The run-outcome contract (proposal §13): one shape across CLI/API/MCP/bindings.
Fields§
§outcome: RunOutcome§skip_reason: Option<SkipReason>§new_grains: u64§new_error_events: u64§proposed: u64§deduped: u64§stored: u64§auto_applied: u64Of the stored recommendations, how many were auto-applied by policy.
analyzers_run: Vec<String>§analyzers_skipped: Vec<AnalyzerSkip>§llm_funnel: Option<LlmFunnel>Where the LLM’s contribution went, stage by stage. None when no
backend is attached.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunResult
impl<'de> Deserialize<'de> for RunResult
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
impl StructuralPartialEq for RunResult
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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