pub struct ValidationOptions {
pub draft: SchemaDraft,
pub custom_formats: HashMap<String, fn(&str) -> bool>,
pub short_circuit: bool,
pub collect_annotations: bool,
}
Fields§
§draft: SchemaDraft
§custom_formats: HashMap<String, fn(&str) -> bool>
§short_circuit: bool
§collect_annotations: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationOptions
impl RefUnwindSafe for ValidationOptions
impl Send for ValidationOptions
impl Sync for ValidationOptions
impl Unpin 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