pub struct ValidateOptions {
pub check_cycles: bool,
pub check_unused: bool,
pub strict: bool,
pub filter_types: Vec<String>,
}Expand description
Options for schema validation
Fields§
§check_cycles: boolCheck for circular dependencies between types
check_unused: boolCheck for unused types (types with no incoming references)
strict: boolStrict mode: treat warnings as errors
filter_types: Vec<String>Filter to specific types (empty = all types)
Trait Implementations§
Source§impl Clone for ValidateOptions
impl Clone for ValidateOptions
Source§fn clone(&self) -> ValidateOptions
fn clone(&self) -> ValidateOptions
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 ValidateOptions
impl Debug for ValidateOptions
Source§impl Default for ValidateOptions
impl Default for ValidateOptions
Source§fn default() -> ValidateOptions
fn default() -> ValidateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidateOptions
impl RefUnwindSafe for ValidateOptions
impl Send for ValidateOptions
impl Sync for ValidateOptions
impl Unpin for ValidateOptions
impl UnwindSafe for ValidateOptions
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