pub struct KnowledgeGraphEntity {
pub id: FactId,
pub assertion_ids: Vec<FactId>,
pub subject_assertion_ids: Vec<FactId>,
pub object_assertion_ids: Vec<FactId>,
}Expand description
KnowledgeGraphEntity data container.
Fields§
§id: FactIdid field for id.
assertion_ids: Vec<FactId>assertion_ids field for assertion ids.
subject_assertion_ids: Vec<FactId>subject_assertion_ids field for subject assertion ids.
object_assertion_ids: Vec<FactId>object_assertion_ids field for object assertion ids.
Trait Implementations§
Source§impl Clone for KnowledgeGraphEntity
impl Clone for KnowledgeGraphEntity
Source§fn clone(&self) -> KnowledgeGraphEntity
fn clone(&self) -> KnowledgeGraphEntity
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 KnowledgeGraphEntity
impl Debug for KnowledgeGraphEntity
Source§impl PartialEq for KnowledgeGraphEntity
impl PartialEq for KnowledgeGraphEntity
impl Eq for KnowledgeGraphEntity
impl StructuralPartialEq for KnowledgeGraphEntity
Auto Trait Implementations§
impl Freeze for KnowledgeGraphEntity
impl RefUnwindSafe for KnowledgeGraphEntity
impl Send for KnowledgeGraphEntity
impl Sync for KnowledgeGraphEntity
impl Unpin for KnowledgeGraphEntity
impl UnsafeUnpin for KnowledgeGraphEntity
impl UnwindSafe for KnowledgeGraphEntity
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.