pub enum OntologyPatchOperation {
AddImport {
import_iri: Iri<String>,
},
RemoveImport {
import_iri: Iri<String>,
},
AddAnnotation {
annotation: Annotation,
},
RemoveAnnotation {
annotation: Annotation,
},
AddAxiom {
axiom: Axiom,
},
RemoveAxiom {
axiom: Axiom,
},
}Expand description
One structural ontology patch operation.
Variants§
AddImport
Add an import declaration.
RemoveImport
Remove an import declaration.
AddAnnotation
Add an ontology annotation.
Fields
§
annotation: AnnotationOntology annotation.
RemoveAnnotation
Remove an ontology annotation.
Fields
§
annotation: AnnotationOntology annotation.
AddAxiom
Add a structural axiom.
RemoveAxiom
Remove a structural axiom.
Trait Implementations§
Source§impl Clone for OntologyPatchOperation
impl Clone for OntologyPatchOperation
Source§fn clone(&self) -> OntologyPatchOperation
fn clone(&self) -> OntologyPatchOperation
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 OntologyPatchOperation
impl Debug for OntologyPatchOperation
Source§impl<'de> Deserialize<'de> for OntologyPatchOperation
impl<'de> Deserialize<'de> for OntologyPatchOperation
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 OntologyPatchOperation
Source§impl PartialEq for OntologyPatchOperation
impl PartialEq for OntologyPatchOperation
Source§impl Serialize for OntologyPatchOperation
impl Serialize for OntologyPatchOperation
impl StructuralPartialEq for OntologyPatchOperation
Auto Trait Implementations§
impl Freeze for OntologyPatchOperation
impl RefUnwindSafe for OntologyPatchOperation
impl Send for OntologyPatchOperation
impl Sync for OntologyPatchOperation
impl Unpin for OntologyPatchOperation
impl UnsafeUnpin for OntologyPatchOperation
impl UnwindSafe for OntologyPatchOperation
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