pub enum Templates {
Show 23 variants
XmlSchema,
Markdown,
CompactMarkdown,
JsonSchema,
JsonSchemaAll,
JsonLd,
Shacl,
Owl,
Shex,
PythonDataclass,
PythonPydanticXML,
PythonPydantic,
MkDocs,
Internal,
Typescript,
TypescriptZod,
Rust,
Protobuf,
Graphql,
Golang,
Linkml,
Julia,
Mermaid,
}Expand description
Enumeration of available templates.
Variants§
XmlSchema
XML Schema
Markdown
Markdown
CompactMarkdown
Compact Markdown
JsonSchema
JSON Schema
JsonSchemaAll
JSON Schema All
JsonLd
JSON-LD
Shacl
SHACL
Owl
OWL
Shex
ShEx
PythonDataclass
Python Dataclass
PythonPydanticXML
Python Pydantic XML
PythonPydantic
Python Pydantic
MkDocs
MkDocs
Internal
Internal
Typescript
Typescript (io-ts)
TypescriptZod
Typescript (Zod)
Rust
Rust
Protobuf
Protobuf
Graphql
Graphql
Golang
Golang
Linkml
Linkml
Julia
Julia
Mermaid
Mermaid class diagram
Trait Implementations§
Source§impl FromStr for Templates
Converts string representation of a template to a Templates enum.
and returns an error if the string is not a valid template type.
impl FromStr for Templates
Converts string representation of a template to a Templates enum.
and returns an error if the string is not a valid template type.
impl StructuralPartialEq for Templates
Auto Trait Implementations§
impl Freeze for Templates
impl RefUnwindSafe for Templates
impl Send for Templates
impl Sync for Templates
impl Unpin for Templates
impl UnsafeUnpin for Templates
impl UnwindSafe for Templates
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.