pub struct RuleReport {
pub manifests: String,
pub manifests_matched: Vec<String>,
pub matched: Vec<ManifestResult>,
pub warnings: Vec<CheckWarning>,
}Expand description
External-plugin dry-run primitives for the CLI’s plugin-check command.
The result of evaluating one manifestEntries rule: the shared source of
truth for BOTH production seeding and the agent-facing check output, so the
two can never drift.
Fields§
§manifests: StringThe rule’s manifests glob.
manifests_matched: Vec<String>Root-relative paths of the manifests the glob matched (sorted, stable).
matched: Vec<ManifestResult>Per-matched-manifest results (sorted by path).
warnings: Vec<CheckWarning>Diagnostics for this rule, sorted by (kind, manifest, entry, field_path)
so the JSON is byte-identical across machines and CI runs.
Trait Implementations§
Source§impl Clone for RuleReport
impl Clone for RuleReport
Source§fn clone(&self) -> RuleReport
fn clone(&self) -> RuleReport
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 RuleReport
impl RefUnwindSafe for RuleReport
impl Send for RuleReport
impl Sync for RuleReport
impl Unpin for RuleReport
impl UnsafeUnpin for RuleReport
impl UnwindSafe for RuleReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more