pub struct SchemaResult {
pub is_match: bool,
pub message: String,
pub evaluation_location: String,
pub schema_evaluation_location: String,
pub document_evaluation_location: String,
}Expand description
One result row.
Fields§
§is_match: bool§message: StringThe message, or "" when the level records none or the keyword has none. Annotation rows carry raw JSON.
evaluation_location: StringThe path of keywords from the root schema (e.g. /properties/name/type).
schema_evaluation_location: StringThe JSON pointer of the evaluated schema (or keyword) within its document (e.g. /properties/name/type).
document_evaluation_location: StringThe JSON pointer of the instance location (e.g. /name).
Trait Implementations§
Source§impl Clone for SchemaResult
impl Clone for SchemaResult
Source§impl Debug for SchemaResult
impl Debug for SchemaResult
impl Eq for SchemaResult
Source§impl PartialEq for SchemaResult
impl PartialEq for SchemaResult
impl StructuralPartialEq for SchemaResult
Auto Trait Implementations§
impl Freeze for SchemaResult
impl RefUnwindSafe for SchemaResult
impl Send for SchemaResult
impl Sync for SchemaResult
impl Unpin for SchemaResult
impl UnsafeUnpin for SchemaResult
impl UnwindSafe for SchemaResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.