pub struct ParsedOntology {Show 13 fields
pub ontology_id: String,
pub base_iri: Option<String>,
pub imports: Vec<String>,
pub namespaces: BTreeMap<String, String>,
pub entities: Vec<Entity>,
pub annotations: Vec<Annotation>,
pub axioms: Vec<Axiom>,
pub namespace_rows: Vec<Namespace>,
pub import_rows: Vec<Import>,
pub parse_status: ParseStatus,
pub parse_message: Option<String>,
pub parse_error_location: Option<SourceLocation>,
pub triple_count: usize,
/* private fields */
}Fields§
§ontology_id: String§base_iri: Option<String>§imports: Vec<String>§namespaces: BTreeMap<String, String>§entities: Vec<Entity>§annotations: Vec<Annotation>§axioms: Vec<Axiom>§namespace_rows: Vec<Namespace>§import_rows: Vec<Import>§parse_status: ParseStatus§parse_message: Option<String>§parse_error_location: Option<SourceLocation>§triple_count: usizeTrait Implementations§
Source§impl Clone for ParsedOntology
impl Clone for ParsedOntology
Source§fn clone(&self) -> ParsedOntology
fn clone(&self) -> ParsedOntology
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 moreAuto Trait Implementations§
impl Freeze for ParsedOntology
impl RefUnwindSafe for ParsedOntology
impl Send for ParsedOntology
impl Sync for ParsedOntology
impl Unpin for ParsedOntology
impl UnsafeUnpin for ParsedOntology
impl UnwindSafe for ParsedOntology
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