pub enum SHACLPath {
Predicate {
pred: IriS,
},
Alternative {
paths: Vec<SHACLPath>,
},
Sequence {
paths: Vec<SHACLPath>,
},
Inverse {
path: Box<SHACLPath>,
},
ZeroOrMore {
path: Box<SHACLPath>,
},
OneOrMore {
path: Box<SHACLPath>,
},
ZeroOrOne {
path: Box<SHACLPath>,
},
}
Expand description
SHACL paths follow the SHACL property paths spec which are a subset of SPARQL property paths
Variants§
Implementations§
Trait Implementations§
impl Eq for SHACLPath
impl StructuralPartialEq for SHACLPath
Auto Trait Implementations§
impl Freeze for SHACLPath
impl RefUnwindSafe for SHACLPath
impl Send for SHACLPath
impl Sync for SHACLPath
impl Unpin for SHACLPath
impl UnwindSafe for SHACLPath
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.