pub struct ValidationResult {
pub focus: Term,
pub path: Option<Term>,
pub value: Option<Term>,
pub component: NamedNode,
pub source_shape: Term,
pub severity: NamedNode,
pub messages: Vec<Term>,
pub sparql_diagnostic: Option<SparqlDiagnostic>,
}Expand description
One sh:ValidationResult.
Fields§
§focus: Term§path: Option<Term>sh:resultPath as the original RDF node (predicate IRI for simple paths).
value: Option<Term>§component: NamedNode§source_shape: Term§severity: NamedNodesh:resultSeverity — the sh:severity declared on the source shape,
defaulting to sh:Violation.
messages: Vec<Term>sh:resultMessage — copied from sh:message on the source shape.
sparql_diagnostic: Option<SparqlDiagnostic>Present only for sh:SPARQLConstraintComponent/custom SPARQL-based
component results: the executed query text, its SHACL bindings, and (if
natively lowered) the compiled physical plan. None for every other
constraint component.
Trait Implementations§
Source§impl Clone for ValidationResult
impl Clone for ValidationResult
Source§fn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidationResult
impl Debug for ValidationResult
impl Eq for ValidationResult
Source§impl Hash for ValidationResult
impl Hash for ValidationResult
Source§impl PartialEq for ValidationResult
impl PartialEq for ValidationResult
impl StructuralPartialEq for ValidationResult
Auto Trait Implementations§
impl Freeze for ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnsafeUnpin for ValidationResult
impl UnwindSafe for ValidationResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.