Expand description
Report types shared across command verticals.
A type lives here because more than one vertical consumes it; per-command
outcome shapes deliberately do not. Field order is the serialized JSON key
order and is contractual: the root Cargo.toml enables serde_json’s
preserve_order, so reordering these fields would silently change rendered
output.
Structs§
- Delete
Outcome - The report a
deleteapply renders. Shared by the rules and exceptions verticals: each reports the same applied/deleted/failed/total shape, only the per-object entries differ (rule_idversuslist_id). - Export
Outcome - A file-producing export: the encoded body and its counts.
- Import
Plan - What
plan_importcomputed andapply_importuploads. Shared by the rules and exceptions verticals: the plan, the re-encoded NDJSON, the in-file object count, and the objects--skip-existingremoved. - Import
Report - The upload half of an import, before the caller adds the plan’s totals. Shared by the rules and exceptions verticals: both normalize Kibana’s import response to a succeeded count and an errors array.
- Mutation
Plan - What a guarded mutation will do, shown in the guard banner.