pub struct OntologyDocument {
pub id: String,
pub path: PathBuf,
pub format: OntologyFormat,
pub base_iri: Option<String>,
pub imports: Vec<String>,
pub namespaces: BTreeMap<String, String>,
pub parse_status: ParseStatus,
pub content_hash: String,
pub modified_time: u64,
pub parse_message: Option<String>,
pub parse_error_location: Option<SourceLocation>,
}Fields§
§id: String§path: PathBuf§format: OntologyFormat§base_iri: Option<String>§imports: Vec<String>§namespaces: BTreeMap<String, String>§parse_status: ParseStatus§content_hash: String§modified_time: u64§parse_message: Option<String>§parse_error_location: Option<SourceLocation>Trait Implementations§
Source§impl Clone for OntologyDocument
impl Clone for OntologyDocument
Source§fn clone(&self) -> OntologyDocument
fn clone(&self) -> OntologyDocument
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 moreSource§impl Debug for OntologyDocument
impl Debug for OntologyDocument
Source§impl<'de> Deserialize<'de> for OntologyDocument
impl<'de> Deserialize<'de> for OntologyDocument
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
Auto Trait Implementations§
impl Freeze for OntologyDocument
impl RefUnwindSafe for OntologyDocument
impl Send for OntologyDocument
impl Sync for OntologyDocument
impl Unpin for OntologyDocument
impl UnsafeUnpin for OntologyDocument
impl UnwindSafe for OntologyDocument
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