pub struct PropertyWitness {
pub focus: Term,
pub shape: Term,
pub key: Term,
pub values: Vec<Term>,
}Expand description
The observed binding of one sh:property shape at one conforming focus
node — the inverse of a violation: not what failed, but what a passing
property shape’s sh:path actually resolved to.
key identifies the property shape stably: the (deterministically first,
when several) value reached by evaluating key_path from the property
shape’s own node over the shapes graph (e.g. a path to a
zea:roleName "outsideAirTemp"-style annotation) when key_path is given
and resolves to at least one value, otherwise the property shape’s own
source node (so callers can still join on it by IRI/blank-node id).
Fields§
§focus: Term§shape: TermThe node shape (application profile) focus conforms to.
key: Term§values: Vec<Term>The sh:path value nodes, deduped. When the property shape carries a
sh:qualifiedValueShape, this is filtered to the values that satisfy
the qualifier (and, under sh:qualifiedValueShapesDisjoint, not any
sibling qualifier) — the disambiguated binding rather than every raw
path value.
Trait Implementations§
Source§impl Clone for PropertyWitness
impl Clone for PropertyWitness
Source§fn clone(&self) -> PropertyWitness
fn clone(&self) -> PropertyWitness
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PropertyWitness
impl Debug for PropertyWitness
impl Eq for PropertyWitness
Source§impl PartialEq for PropertyWitness
impl PartialEq for PropertyWitness
impl StructuralPartialEq for PropertyWitness
Auto Trait Implementations§
impl Freeze for PropertyWitness
impl RefUnwindSafe for PropertyWitness
impl Send for PropertyWitness
impl Sync for PropertyWitness
impl Unpin for PropertyWitness
impl UnsafeUnpin for PropertyWitness
impl UnwindSafe for PropertyWitness
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
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
key and return true if they are equal.