#[non_exhaustive]pub struct StatusReport {
pub target: PlanTarget,
pub status: InstallStatus,
pub config_path: Option<PathBuf>,
pub ledger_path: Option<PathBuf>,
pub files: Vec<PathStatus>,
pub warnings: Vec<StatusWarning>,
}Expand description
Full report returned by Integration::status, McpSurface::mcp_status,
and SkillSurface::skill_status.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.target: PlanTargetWhat the report describes.
status: InstallStatusHigh-level state — the field most callers will branch on.
config_path: Option<PathBuf>Path to the harness config the agent inspects (e.g.
~/.claude/settings.json, ~/.codex/config.toml). None for
surfaces with no single canonical config file.
ledger_path: Option<PathBuf>Path to the agent-config ownership ledger that backs this surface.
None for hook surfaces that embed _agent_config_tag markers
directly into the harness config (no separate ledger).
files: Vec<PathStatus>Per-file status for paths the report inspected. Useful for rendering “what would change” planners without re-probing.
warnings: Vec<StatusWarning>Advisory observations.
Trait Implementations§
Source§impl Clone for StatusReport
impl Clone for StatusReport
Source§fn clone(&self) -> StatusReport
fn clone(&self) -> StatusReport
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 moreAuto Trait Implementations§
impl Freeze for StatusReport
impl RefUnwindSafe for StatusReport
impl Send for StatusReport
impl Sync for StatusReport
impl Unpin for StatusReport
impl UnsafeUnpin for StatusReport
impl UnwindSafe for StatusReport
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