pub struct GrepGcResponse {
pub namespace_id: NamespaceId,
pub deleted_segments: u64,
pub deleted_other_objects: u64,
pub namespace_reaped: bool,
pub retained_candidates: u64,
pub namespace_degraded: bool,
pub next_cursor: Option<String>,
}Expand description
Result of one explicit grep-index garbage-collection pass (admin plane).
Fields§
§namespace_id: NamespaceIdNamespace whose grep-owned keyspace was inspected.
deleted_segments: u64Unreferenced grep segments deleted after the grace window.
deleted_other_objects: u64Other unreferenced grep objects deleted after the grace window.
namespace_reaped: boolWhether an absent or tombstoned namespace had extension state reaped.
retained_candidates: u64Young or concurrently revived candidates retained by the pass.
namespace_degraded: boolWhether unreadable namespace or grep state forced conservative retention.
next_cursor: Option<String>Present when the budget stopped the pass with keys left to examine.
Trait Implementations§
Source§impl Clone for GrepGcResponse
impl Clone for GrepGcResponse
Source§fn clone(&self) -> GrepGcResponse
fn clone(&self) -> GrepGcResponse
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 GrepGcResponse
impl Debug for GrepGcResponse
Source§impl<'de> Deserialize<'de> for GrepGcResponse
impl<'de> Deserialize<'de> for GrepGcResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GrepGcResponse
Source§impl PartialEq for GrepGcResponse
impl PartialEq for GrepGcResponse
Source§impl Serialize for GrepGcResponse
impl Serialize for GrepGcResponse
impl StructuralPartialEq for GrepGcResponse
Auto Trait Implementations§
impl Freeze for GrepGcResponse
impl RefUnwindSafe for GrepGcResponse
impl Send for GrepGcResponse
impl Sync for GrepGcResponse
impl Unpin for GrepGcResponse
impl UnsafeUnpin for GrepGcResponse
impl UnwindSafe for GrepGcResponse
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