pub struct KnowledgeGraphIndex {
pub assertion_ids: Vec<FactId>,
pub entity_ids: Vec<FactId>,
pub relation_ids: Vec<FactId>,
pub predicates: Vec<String>,
}Expand description
KnowledgeGraphIndex data container.
Fields§
§assertion_ids: Vec<FactId>assertion_ids field for assertion ids.
entity_ids: Vec<FactId>entity_ids field for entity ids.
relation_ids: Vec<FactId>relation_ids field for relation ids.
predicates: Vec<String>predicates field for predicates.
Trait Implementations§
Source§impl Clone for KnowledgeGraphIndex
impl Clone for KnowledgeGraphIndex
Source§fn clone(&self) -> KnowledgeGraphIndex
fn clone(&self) -> KnowledgeGraphIndex
Returns a duplicate of the value. Read more
1.0.0 · 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 KnowledgeGraphIndex
impl Debug for KnowledgeGraphIndex
Source§impl PartialEq for KnowledgeGraphIndex
impl PartialEq for KnowledgeGraphIndex
impl Eq for KnowledgeGraphIndex
impl StructuralPartialEq for KnowledgeGraphIndex
Auto Trait Implementations§
impl Freeze for KnowledgeGraphIndex
impl RefUnwindSafe for KnowledgeGraphIndex
impl Send for KnowledgeGraphIndex
impl Sync for KnowledgeGraphIndex
impl Unpin for KnowledgeGraphIndex
impl UnsafeUnpin for KnowledgeGraphIndex
impl UnwindSafe for KnowledgeGraphIndex
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.