pub struct ScopedSchema<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ScopedSchema<'a>
impl<'a> ScopedSchema<'a>
pub fn new(scope: &'a Scope, schema: &'a Schema) -> ScopedSchema<'a>
pub fn validate(&self, data: &Value) -> ValidationState
pub fn validate_in(&self, data: &Value, path: &str) -> ValidationState
Trait Implementations§
Source§impl<'a> Debug for ScopedSchema<'a>
impl<'a> Debug for ScopedSchema<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScopedSchema<'a>
impl<'a> !RefUnwindSafe for ScopedSchema<'a>
impl<'a> !Send for ScopedSchema<'a>
impl<'a> !Sync for ScopedSchema<'a>
impl<'a> Unpin for ScopedSchema<'a>
impl<'a> !UnwindSafe for ScopedSchema<'a>
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