pub struct MagiReport {
pub agents: Vec<AgentOutput>,
pub consensus: ConsensusResult,
pub banner: String,
pub report: String,
pub degraded: bool,
pub failed_agents: BTreeMap<AgentName, String>,
}Expand description
Final output struct returned by the orchestrator’s analyze() method.
Contains all analysis data plus the formatted report string. Serializes to JSON matching the Python original format.
Fields§
§agents: Vec<AgentOutput>The successful agent outputs used in analysis.
consensus: ConsensusResultThe computed consensus result.
The ASCII banner string.
report: StringThe full markdown report string.
degraded: boolTrue if fewer than 3 agents succeeded.
failed_agents: BTreeMap<AgentName, String>Agents that failed, mapped to their failure reason
(e.g., "parse: no valid JSON", "validation: confidence out of range").
Trait Implementations§
Source§impl Clone for MagiReport
impl Clone for MagiReport
Source§fn clone(&self) -> MagiReport
fn clone(&self) -> MagiReport
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 MagiReport
impl Debug for MagiReport
Auto Trait Implementations§
impl Freeze for MagiReport
impl RefUnwindSafe for MagiReport
impl Send for MagiReport
impl Sync for MagiReport
impl Unpin for MagiReport
impl UnsafeUnpin for MagiReport
impl UnwindSafe for MagiReport
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