#[non_exhaustive]pub struct OntologyStats {
pub concepts: usize,
pub relation_types: usize,
pub axioms: usize,
}Expand description
Counts of definitions held by an Ontology.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.concepts: usizeNumber of registered concepts.
relation_types: usizeNumber of registered relation types.
axioms: usizeNumber of semantic axioms.
Trait Implementations§
Source§impl Clone for OntologyStats
impl Clone for OntologyStats
Source§fn clone(&self) -> OntologyStats
fn clone(&self) -> OntologyStats
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 OntologyStats
Source§impl Debug for OntologyStats
impl Debug for OntologyStats
Source§impl Default for OntologyStats
impl Default for OntologyStats
Source§fn default() -> OntologyStats
fn default() -> OntologyStats
Returns the “default value” for a type. Read more
impl Eq for OntologyStats
Source§impl PartialEq for OntologyStats
impl PartialEq for OntologyStats
impl StructuralPartialEq for OntologyStats
Auto Trait Implementations§
impl Freeze for OntologyStats
impl RefUnwindSafe for OntologyStats
impl Send for OntologyStats
impl Sync for OntologyStats
impl Unpin for OntologyStats
impl UnsafeUnpin for OntologyStats
impl UnwindSafe for OntologyStats
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.