pub struct SchemaDiagnostic {
pub location: String,
pub finding: String,
pub message: String,
}Expand description
One reason a directional verdict does not hold, with the schema location
that carries it — so a refusal points at $.payload rather than saying
“incompatible”.
Fields§
§location: StringLocation in the resolved schema, $ for the document root.
finding: StringMachine-readable finding kind, as gts names it.
message: StringTrait Implementations§
Source§impl Clone for SchemaDiagnostic
impl Clone for SchemaDiagnostic
Source§impl Debug for SchemaDiagnostic
impl Debug for SchemaDiagnostic
impl Eq for SchemaDiagnostic
Source§impl PartialEq for SchemaDiagnostic
impl PartialEq for SchemaDiagnostic
impl StructuralPartialEq for SchemaDiagnostic
Auto Trait Implementations§
impl Freeze for SchemaDiagnostic
impl RefUnwindSafe for SchemaDiagnostic
impl Send for SchemaDiagnostic
impl Sync for SchemaDiagnostic
impl Unpin for SchemaDiagnostic
impl UnsafeUnpin for SchemaDiagnostic
impl UnwindSafe for SchemaDiagnostic
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.