pub struct SchemaValidatorOptions {
pub allow_import: bool,
pub max_validation_depth: usize,
pub warn_on_unused_extension_keywords: bool,
pub external_schemas: Vec<Value>,
}Expand description
Options for schema validation.
Fields§
§allow_import: boolWhether to allow $import/$importdefs keywords.
max_validation_depth: usizeMaximum depth for recursive validation.
warn_on_unused_extension_keywords: boolWhether to warn on unused extension keywords.
external_schemas: Vec<Value>External schemas for resolving imports.
Trait Implementations§
Source§impl Clone for SchemaValidatorOptions
impl Clone for SchemaValidatorOptions
Source§fn clone(&self) -> SchemaValidatorOptions
fn clone(&self) -> SchemaValidatorOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 SchemaValidatorOptions
impl Debug for SchemaValidatorOptions
Auto Trait Implementations§
impl Freeze for SchemaValidatorOptions
impl RefUnwindSafe for SchemaValidatorOptions
impl Send for SchemaValidatorOptions
impl Sync for SchemaValidatorOptions
impl Unpin for SchemaValidatorOptions
impl UnwindSafe for SchemaValidatorOptions
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