pub struct ShEx2UmlConfig {
pub plantuml_path: Option<PathBuf>,
pub annotation_label: Vec<IriS>,
pub replace_iri_by_label: Option<bool>,
pub shex: Option<ShExConfig>,
}
Fields§
§plantuml_path: Option<PathBuf>
§annotation_label: Vec<IriS>
§replace_iri_by_label: Option<bool>
§shex: Option<ShExConfig>
Implementations§
Source§impl ShEx2UmlConfig
impl ShEx2UmlConfig
pub fn new() -> ShEx2UmlConfig
pub fn shex_config(&self) -> ShExConfig
pub fn replace_iri_by_label(&self) -> bool
pub fn from_file(file_name: &str) -> Result<ShEx2UmlConfig, ShEx2UmlConfigError>
pub fn with_plantuml_path<P: AsRef<Path>>(self, path: P) -> Self
Trait Implementations§
Source§impl Clone for ShEx2UmlConfig
impl Clone for ShEx2UmlConfig
Source§fn clone(&self) -> ShEx2UmlConfig
fn clone(&self) -> ShEx2UmlConfig
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 ShEx2UmlConfig
impl Debug for ShEx2UmlConfig
Source§impl Default for ShEx2UmlConfig
impl Default for ShEx2UmlConfig
Source§impl<'de> Deserialize<'de> for ShEx2UmlConfig
impl<'de> Deserialize<'de> for ShEx2UmlConfig
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 ShEx2UmlConfig
impl PartialEq for ShEx2UmlConfig
Source§impl Serialize for ShEx2UmlConfig
impl Serialize for ShEx2UmlConfig
impl StructuralPartialEq for ShEx2UmlConfig
Auto Trait Implementations§
impl Freeze for ShEx2UmlConfig
impl RefUnwindSafe for ShEx2UmlConfig
impl Send for ShEx2UmlConfig
impl Sync for ShEx2UmlConfig
impl Unpin for ShEx2UmlConfig
impl UnwindSafe for ShEx2UmlConfig
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