pub struct ValidationOptions {
pub rules: RulesConfig,
pub core_spec: Option<CoreSpecTarget>,
pub app_specs: Option<Vec<AppSpecTarget>>,
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.
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
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 moreSource§impl Debug for ValidationOptions
impl Debug for ValidationOptions
Source§impl Default for ValidationOptions
impl Default for ValidationOptions
Source§fn default() -> ValidationOptions
fn default() -> ValidationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidationOptions
impl RefUnwindSafe for ValidationOptions
impl Send for ValidationOptions
impl Sync for ValidationOptions
impl Unpin for ValidationOptions
impl UnsafeUnpin for ValidationOptions
impl UnwindSafe for ValidationOptions
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