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>,
}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.
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
Source§fn eq(&self, other: &ValidationResult) -> bool
fn eq(&self, other: &ValidationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.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
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.