pub struct ReindexStats {
pub added: usize,
pub updated: usize,
pub removed: usize,
pub errors: usize,
}Expand description
Statistics from an incremental reindex operation.
Fields§
§added: usizeNumber of newly indexed memories.
updated: usizeNumber of memories whose embeddings were refreshed.
removed: usizeNumber of memories removed from the index.
errors: usizeNumber of memories that failed to index.
Trait Implementations§
Source§impl Debug for ReindexStats
impl Debug for ReindexStats
Source§impl Default for ReindexStats
impl Default for ReindexStats
Source§fn default() -> ReindexStats
fn default() -> ReindexStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReindexStats
impl RefUnwindSafe for ReindexStats
impl Send for ReindexStats
impl Sync for ReindexStats
impl Unpin for ReindexStats
impl UnsafeUnpin for ReindexStats
impl UnwindSafe for ReindexStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more