pub struct CurationResult {
pub to_add: Vec<MemoryEntry>,
pub to_remove_indices: Vec<usize>,
pub stats: CurationStats,
}Expand description
The pure-computation delta the SDK applies to the long-term memory store.
Fields§
§to_add: Vec<MemoryEntry>§to_remove_indices: Vec<usize>Indices into the existing slice passed to curate — SDK removes these entries.
stats: CurationStatsTrait Implementations§
Source§impl Clone for CurationResult
impl Clone for CurationResult
Source§fn clone(&self) -> CurationResult
fn clone(&self) -> CurationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CurationResult
impl RefUnwindSafe for CurationResult
impl Send for CurationResult
impl Sync for CurationResult
impl Unpin for CurationResult
impl UnsafeUnpin for CurationResult
impl UnwindSafe for CurationResult
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