pub enum SchemaRole {
Ontology,
Shacl,
Shex,
}Expand description
What a registered graph holds.
Variants§
Ontology
An OWL / RDFS ontology: it feeds tbox_closure.
Shacl
A SHACL shapes graph: it feeds the shape index.
Shex
A ShEx schema. Recorded and hidden like the others; nothing compiles it yet.
Implementations§
Source§impl SchemaRole
impl SchemaRole
Trait Implementations§
Source§impl Clone for SchemaRole
impl Clone for SchemaRole
impl Copy for SchemaRole
Source§impl Debug for SchemaRole
impl Debug for SchemaRole
impl Eq for SchemaRole
Source§impl FromStr for SchemaRole
impl FromStr for SchemaRole
Source§impl Hash for SchemaRole
impl Hash for SchemaRole
Source§impl Ord for SchemaRole
impl Ord for SchemaRole
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SchemaRole
impl PartialEq for SchemaRole
Source§impl PartialOrd for SchemaRole
impl PartialOrd for SchemaRole
impl StructuralPartialEq for SchemaRole
Auto Trait Implementations§
impl Freeze for SchemaRole
impl RefUnwindSafe for SchemaRole
impl Send for SchemaRole
impl Sync for SchemaRole
impl Unpin for SchemaRole
impl UnsafeUnpin for SchemaRole
impl UnwindSafe for SchemaRole
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