pub struct RudofConfig { /* private fields */ }
Expand description
rudof_config
describes the configuration of Rudof
Implementations§
Source§impl RudofConfig
impl RudofConfig
pub fn new() -> RudofConfig
pub fn with_rdf_data_config(self, rdf_data_config: RdfDataConfig) -> Self
pub fn with_shex_validator_config( self, shex_validator_config: ValidatorConfig, ) -> Self
pub fn with_shex_config(self, shex_config: ShExConfig) -> Self
Sourcepub fn from_path<P: AsRef<Path>>(path: P) -> Result<RudofConfig, RudofError>
pub fn from_path<P: AsRef<Path>>(path: P) -> Result<RudofConfig, RudofError>
Obtain a DCTapConfig from a path file in YAML
pub fn validator_config(&self) -> ValidatorConfig
pub fn shex_config(&self) -> ShExConfig
pub fn show_extends(&self) -> bool
pub fn show_imports(&self) -> bool
pub fn show_shapes(&self) -> bool
pub fn rdf_data_config(&self) -> RdfDataConfig
pub fn tap_config(&self) -> TapConfig
pub fn tap2shex_config(&self) -> Tap2ShExConfig
pub fn shex2uml_config(&self) -> ShEx2UmlConfig
pub fn shex2html_config(&self) -> ShEx2HtmlConfig
pub fn service_config(&self) -> ServiceConfig
pub fn shex2sparql_config(&self) -> ShEx2SparqlConfig
pub fn shacl2shex_config(&self) -> Shacl2ShExConfig
pub fn rdf_data_base(&self) -> Option<&str>
pub fn automatic_base(&self) -> bool
Trait Implementations§
Source§impl Clone for RudofConfig
impl Clone for RudofConfig
Source§fn clone(&self) -> RudofConfig
fn clone(&self) -> RudofConfig
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 RudofConfig
impl Debug for RudofConfig
Source§impl Default for RudofConfig
impl Default for RudofConfig
Source§fn default() -> RudofConfig
fn default() -> RudofConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RudofConfig
impl<'de> Deserialize<'de> for RudofConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RudofConfig
impl PartialEq for RudofConfig
Source§impl Serialize for RudofConfig
impl Serialize for RudofConfig
impl StructuralPartialEq for RudofConfig
Auto Trait Implementations§
impl Freeze for RudofConfig
impl RefUnwindSafe for RudofConfig
impl Send for RudofConfig
impl Sync for RudofConfig
impl Unpin for RudofConfig
impl UnwindSafe for RudofConfig
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