pub struct ForgetDocumentReport {
pub doc_id: DocumentId,
pub chunks_tombstoned: u32,
}Expand description
What WriteCommand::ForgetDocument returns to the caller. New in
v0.7.0.
chunks_tombstoned counts the document_chunks rows whose HNSW
rowid was tombstoned (so index.len() no longer counts them and
detect_drift stays clean). The chunk rows themselves are NOT
deleted from SQL — documents.status='forgotten' is the soft-delete
marker; chunks survive for forensic value (same pattern as episodes’
soft-delete via episodes.status='forgotten').
Fields§
§doc_id: DocumentId§chunks_tombstoned: u32Trait Implementations§
Source§impl Clone for ForgetDocumentReport
impl Clone for ForgetDocumentReport
Source§fn clone(&self) -> ForgetDocumentReport
fn clone(&self) -> ForgetDocumentReport
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 moreSource§impl Debug for ForgetDocumentReport
impl Debug for ForgetDocumentReport
Auto Trait Implementations§
impl Freeze for ForgetDocumentReport
impl RefUnwindSafe for ForgetDocumentReport
impl Send for ForgetDocumentReport
impl Sync for ForgetDocumentReport
impl Unpin for ForgetDocumentReport
impl UnsafeUnpin for ForgetDocumentReport
impl UnwindSafe for ForgetDocumentReport
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,
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