pub struct EndpointValidation { /* private fields */ }Expand description
The Endpoint Graph Validation algorithm.
Implementations§
Source§impl EndpointValidation
impl EndpointValidation
pub fn new( iri: &str, prefixmap: &PrefixMap, mode: ShaclValidationMode, ) -> Result<Self, Box<ValidateError>>
pub fn from_sparql( sparql: SparqlEndpoint, mode: ShaclValidationMode, ) -> Result<Self, Box<ValidateError>>
Trait Implementations§
Source§impl ShaclProcessor<SparqlEndpoint> for EndpointValidation
impl ShaclProcessor<SparqlEndpoint> for EndpointValidation
Source§fn validate(
&mut self,
shapes_graph: &SchemaIR,
) -> Result<ValidationReport, Box<ValidateError>>
fn validate( &mut self, shapes_graph: &SchemaIR, ) -> Result<ValidationReport, Box<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 !RefUnwindSafe for EndpointValidation
impl !UnwindSafe for EndpointValidation
impl Freeze for EndpointValidation
impl Send for EndpointValidation
impl Sync for EndpointValidation
impl Unpin for EndpointValidation
impl UnsafeUnpin 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
impl<T> ErasedDestructor for Twhere
T: 'static,
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