pub struct ShardReplaceResult {
pub content_unchanged: bool,
pub anchors_updated: bool,
pub entities_updated: bool,
pub occurrences_updated: bool,
pub edges_updated: bool,
}Expand description
Per-category incremental invalidation result.
Tracks which fact categories should be updated during a shard replacement so callers can observe skip behavior in tests and apply only the required cross-file index updates.
Fields§
§content_unchanged: booltrue when the whole-file content_hash matched and the replacement
should be skipped entirely.
anchors_updated: booltrue when the anchors category should be re-indexed.
entities_updated: booltrue when the entities category should be re-indexed.
occurrences_updated: booltrue when the occurrences category should be re-indexed.
edges_updated: booltrue when the edges category should be re-indexed.
Trait Implementations§
Source§impl Clone for ShardReplaceResult
impl Clone for ShardReplaceResult
Source§fn clone(&self) -> ShardReplaceResult
fn clone(&self) -> ShardReplaceResult
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 ShardReplaceResult
impl Debug for ShardReplaceResult
Source§impl PartialEq for ShardReplaceResult
impl PartialEq for ShardReplaceResult
impl Eq for ShardReplaceResult
impl StructuralPartialEq for ShardReplaceResult
Auto Trait Implementations§
impl Freeze for ShardReplaceResult
impl RefUnwindSafe for ShardReplaceResult
impl Send for ShardReplaceResult
impl Sync for ShardReplaceResult
impl Unpin for ShardReplaceResult
impl UnsafeUnpin for ShardReplaceResult
impl UnwindSafe for ShardReplaceResult
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