pub struct KnowledgeGraphTopic {
pub predicate: String,
pub assertion_ids: Vec<FactId>,
pub entity_ids: Vec<FactId>,
}Expand description
KnowledgeGraphTopic data container.
Fields§
§predicate: Stringpredicate field for predicate.
assertion_ids: Vec<FactId>assertion_ids field for assertion ids.
entity_ids: Vec<FactId>entity_ids field for entity ids.
Trait Implementations§
Source§impl Clone for KnowledgeGraphTopic
impl Clone for KnowledgeGraphTopic
Source§fn clone(&self) -> KnowledgeGraphTopic
fn clone(&self) -> KnowledgeGraphTopic
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 KnowledgeGraphTopic
impl Debug for KnowledgeGraphTopic
Source§impl PartialEq for KnowledgeGraphTopic
impl PartialEq for KnowledgeGraphTopic
impl Eq for KnowledgeGraphTopic
impl StructuralPartialEq for KnowledgeGraphTopic
Auto Trait Implementations§
impl Freeze for KnowledgeGraphTopic
impl RefUnwindSafe for KnowledgeGraphTopic
impl Send for KnowledgeGraphTopic
impl Sync for KnowledgeGraphTopic
impl Unpin for KnowledgeGraphTopic
impl UnsafeUnpin for KnowledgeGraphTopic
impl UnwindSafe for KnowledgeGraphTopic
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.