pub struct ValidationConfig {
pub require_and_wrapper: Option<RequireAndWrapper>,
}Expand description
Configuration for validating JSON Logic expressions.
Fields§
§require_and_wrapper: Option<RequireAndWrapper>If Some, ensures all conditions are wrapped in an ‘and’ block. Empty JSON logic objects are allowed if allow_empty is true.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationConfig
impl RefUnwindSafe for ValidationConfig
impl Send for ValidationConfig
impl Sync for ValidationConfig
impl Unpin for ValidationConfig
impl UnsafeUnpin for ValidationConfig
impl UnwindSafe for ValidationConfig
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