pub struct KnowledgeAssertion {
pub id: FactId,
pub subject_id: FactId,
pub predicate: String,
pub object: KnowledgeAssertionObject,
pub sources: Vec<FactId>,
pub confidence: f64,
pub t_ns: u128,
}Expand description
Passive KG assertion fact.
Fields§
§id: FactIdid field for id.
subject_id: FactIdsubject_id field for subject id.
predicate: Stringpredicate field for predicate.
object: KnowledgeAssertionObjectobject field for object.
sources: Vec<FactId>sources field for sources.
confidence: f64confidence field for confidence.
t_ns: u128t_ns field for t ns.
Trait Implementations§
Source§impl Clone for KnowledgeAssertion
impl Clone for KnowledgeAssertion
Source§fn clone(&self) -> KnowledgeAssertion
fn clone(&self) -> KnowledgeAssertion
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 KnowledgeAssertion
impl Debug for KnowledgeAssertion
Source§impl PartialEq for KnowledgeAssertion
impl PartialEq for KnowledgeAssertion
impl StructuralPartialEq for KnowledgeAssertion
Auto Trait Implementations§
impl Freeze for KnowledgeAssertion
impl RefUnwindSafe for KnowledgeAssertion
impl Send for KnowledgeAssertion
impl Sync for KnowledgeAssertion
impl Unpin for KnowledgeAssertion
impl UnsafeUnpin for KnowledgeAssertion
impl UnwindSafe for KnowledgeAssertion
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