pub struct EndpointValidation { /* private fields */ }
Expand description
The Endpoint Graph Validation algorithm.
Implementations§
Source§impl EndpointValidation
impl EndpointValidation
pub fn new( data: &str, prefixmap: &PrefixMap, mode: ShaclValidationMode, ) -> Result<Self, ValidateError>
pub fn from_sparql( sparql: SRDFSparql, mode: ShaclValidationMode, ) -> Result<Self, ValidateError>
Trait Implementations§
Source§impl ShaclProcessor<SRDFSparql> for EndpointValidation
impl ShaclProcessor<SRDFSparql> for EndpointValidation
fn store(&self) -> &SRDFSparql
fn runner(&self) -> &dyn Engine<SRDFSparql>
Source§fn validate(
&self,
shapes_graph: &CompiledSchema<S>,
) -> Result<ValidationReport, ValidateError>
fn validate( &self, shapes_graph: &CompiledSchema<S>, ) -> Result<ValidationReport, ValidateError>
Executes the Validation of the provided Graph, in any of the supported
formats, against the shapes graph passed as an argument. As a result,
the Validation Report generated from the validation process is returned. Read more
Auto Trait Implementations§
impl Freeze for EndpointValidation
impl !RefUnwindSafe for EndpointValidation
impl Send for EndpointValidation
impl Sync for EndpointValidation
impl Unpin for EndpointValidation
impl !UnwindSafe for EndpointValidation
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> 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