pub enum ShaclValidationMode {
Native,
Sparql,
}
Expand description
Backend used for the validation.
According to the SHACL Recommendation, there exists no concrete method for implementing SHACL. Thus, by choosing your preferred SHACL Validation Mode, the user can select which engine is used for the validation.
Variants§
Native
We use a Rust native engine in an imperative manner (performance)
Sparql
We use a SPARQL-based engine, which is declarative
Trait Implementations§
Source§impl Clone for ShaclValidationMode
impl Clone for ShaclValidationMode
Source§fn clone(&self) -> ShaclValidationMode
fn clone(&self) -> ShaclValidationMode
Returns a copy of the value. Read more
1.0.0 · 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 ShaclValidationMode
impl Debug for ShaclValidationMode
Source§impl Default for ShaclValidationMode
impl Default for ShaclValidationMode
Source§fn default() -> ShaclValidationMode
fn default() -> ShaclValidationMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShaclValidationMode
impl PartialEq for ShaclValidationMode
Source§impl ValueEnum for ShaclValidationMode
impl ValueEnum for ShaclValidationMode
Source§fn value_variants<'a>() -> &'a [ShaclValidationMode]
fn value_variants<'a>() -> &'a [ShaclValidationMode]
All possible argument values, in display order.
Source§fn to_possible_value<'a>(&self) -> Option<PossibleValue>
fn to_possible_value<'a>(&self) -> Option<PossibleValue>
The canonical argument value. Read more
impl Copy for ShaclValidationMode
impl StructuralPartialEq for ShaclValidationMode
Auto Trait Implementations§
impl Freeze for ShaclValidationMode
impl RefUnwindSafe for ShaclValidationMode
impl Send for ShaclValidationMode
impl Sync for ShaclValidationMode
impl Unpin for ShaclValidationMode
impl UnwindSafe for ShaclValidationMode
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more