pub enum OntologyFormat {
Turtle,
RdfXml,
Owl,
OwlXml,
JsonLd,
NTriples,
NQuads,
TriG,
Obo,
Unknown,
}Expand description
Wire format (LSP JSON) uses snake_case via serde; SQL CLI uses OntologyFormat::as_str.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OntologyFormat
impl Clone for OntologyFormat
Source§fn clone(&self) -> OntologyFormat
fn clone(&self) -> OntologyFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OntologyFormat
Source§impl Debug for OntologyFormat
impl Debug for OntologyFormat
Source§impl<'de> Deserialize<'de> for OntologyFormat
impl<'de> Deserialize<'de> for OntologyFormat
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
impl Eq for OntologyFormat
Source§impl Hash for OntologyFormat
impl Hash for OntologyFormat
Source§impl PartialEq for OntologyFormat
impl PartialEq for OntologyFormat
Source§fn eq(&self, other: &OntologyFormat) -> bool
fn eq(&self, other: &OntologyFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OntologyFormat
impl Serialize for OntologyFormat
impl StructuralPartialEq for OntologyFormat
Auto Trait Implementations§
impl Freeze for OntologyFormat
impl RefUnwindSafe for OntologyFormat
impl Send for OntologyFormat
impl Sync for OntologyFormat
impl Unpin for OntologyFormat
impl UnsafeUnpin for OntologyFormat
impl UnwindSafe for OntologyFormat
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