pub struct AgenticMemoryKgAssertionDraft {
pub id: FactId,
pub record_id: Option<FactId>,
pub fragment_id: Option<FactId>,
pub subject_id: FactId,
pub predicate: String,
pub object: KnowledgeAssertionObject,
pub confidence: f64,
pub t_ns: u128,
}Expand description
AgenticMemoryKgAssertionDraft data container.
Fields§
§id: FactIdid field for id.
record_id: Option<FactId>record_id field for record id.
fragment_id: Option<FactId>fragment_id field for fragment id.
subject_id: FactIdsubject_id field for subject id.
predicate: Stringpredicate field for predicate.
object: KnowledgeAssertionObjectobject field for object.
confidence: f64confidence field for confidence.
t_ns: u128t_ns field for t ns.
Trait Implementations§
Source§impl Clone for AgenticMemoryKgAssertionDraft
impl Clone for AgenticMemoryKgAssertionDraft
Source§fn clone(&self) -> AgenticMemoryKgAssertionDraft
fn clone(&self) -> AgenticMemoryKgAssertionDraft
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 PartialEq for AgenticMemoryKgAssertionDraft
impl PartialEq for AgenticMemoryKgAssertionDraft
Source§fn eq(&self, other: &AgenticMemoryKgAssertionDraft) -> bool
fn eq(&self, other: &AgenticMemoryKgAssertionDraft) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgenticMemoryKgAssertionDraft
Auto Trait Implementations§
impl Freeze for AgenticMemoryKgAssertionDraft
impl RefUnwindSafe for AgenticMemoryKgAssertionDraft
impl Send for AgenticMemoryKgAssertionDraft
impl Sync for AgenticMemoryKgAssertionDraft
impl Unpin for AgenticMemoryKgAssertionDraft
impl UnsafeUnpin for AgenticMemoryKgAssertionDraft
impl UnwindSafe for AgenticMemoryKgAssertionDraft
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