pub struct ValidationOptions {
pub rules: RulesConfig,
pub core_spec: Option<CoreSpecTarget>,
pub app_specs: Option<Vec<AppSpecTarget>>,
pub aggregate_repeats: bool,
pub verify_hashes: Option<PathBuf>,
pub skip_disk_checks: bool,
}Expand description
Options controlling validation behaviour.
Fields§
§rules: RulesConfigESLint-style per-rule severity overrides applied to the output. An empty map (the default) is a no-op.
core_spec: Option<CoreSpecTarget>Core constraints spec version. None = auto-detect from CPL namespace.
app_specs: Option<Vec<AppSpecTarget>>Application profile spec versions. None = auto-detect from CPL.
aggregate_repeats: boolWhen true, collapse repeat-offender issues (same code in the
same severity bucket) into one entry carrying the rest of their
Locations in additional_instances. Operator-facing wins:
reports stay readable on packages with thousands of similar
findings. Default false — preserves the legacy
one-issue-per-occurrence shape.
verify_hashes: Option<PathBuf>Path used for hash verification (only meaningful on native targets).
When Some, hash verification is enabled; when None (the default), skipped.
skip_disk_checks: boolSkip all disk I/O checks: file manifest (existence/size) and MXF header inspection. Useful for packages on slow or remote filesystems (e.g. S3 via MacFUSE) where XML-only structural validation is sufficient.
Trait Implementations§
Source§impl Clone for ValidationOptions
impl Clone for ValidationOptions
Source§fn clone(&self) -> ValidationOptions
fn clone(&self) -> ValidationOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more