#[non_exhaustive]pub struct KnowledgeBaseStats {
pub evidence: usize,
pub facts: usize,
pub hypotheses: usize,
pub entities: usize,
pub relations: usize,
pub ontology: OntologyStats,
}Expand description
Counts of records currently held by a KnowledgeBase.
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.evidence: usizeNumber of immutable observations.
facts: usizeNumber of materialized facts.
hypotheses: usizeNumber of evaluated hypotheses.
entities: usizeNumber of knowledge-graph entities.
relations: usizeNumber of evidence-backed graph relations.
ontology: OntologyStatsCounts for ontology concepts, relation types, and axioms.
Trait Implementations§
Source§impl Clone for KnowledgeBaseStats
impl Clone for KnowledgeBaseStats
Source§fn clone(&self) -> KnowledgeBaseStats
fn clone(&self) -> KnowledgeBaseStats
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 KnowledgeBaseStats
Source§impl Debug for KnowledgeBaseStats
impl Debug for KnowledgeBaseStats
Source§impl Default for KnowledgeBaseStats
impl Default for KnowledgeBaseStats
Source§fn default() -> KnowledgeBaseStats
fn default() -> KnowledgeBaseStats
Returns the “default value” for a type. Read more
impl Eq for KnowledgeBaseStats
Source§impl PartialEq for KnowledgeBaseStats
impl PartialEq for KnowledgeBaseStats
impl StructuralPartialEq for KnowledgeBaseStats
Auto Trait Implementations§
impl Freeze for KnowledgeBaseStats
impl RefUnwindSafe for KnowledgeBaseStats
impl Send for KnowledgeBaseStats
impl Sync for KnowledgeBaseStats
impl Unpin for KnowledgeBaseStats
impl UnsafeUnpin for KnowledgeBaseStats
impl UnwindSafe for KnowledgeBaseStats
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.§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