pub struct NamespaceStatusResponse {
pub namespace_id: NamespaceId,
pub head_seq: ChangeSeq,
pub current_manifest_id: Option<ManifestId>,
pub wal_tail_segments: u64,
pub retention_floor_seq: ChangeSeq,
}Expand description
Status summary for one namespace.
This is the point-lookup answer to “does this namespace exist, and where is its head?” — cheaper than listing all namespaces when only one matters.
Fields§
§namespace_id: NamespaceIdNamespace being inspected.
head_seq: ChangeSeqCurrent visible namespace sequence.
current_manifest_id: Option<ManifestId>Current manifest pointer recorded by the head.
wal_tail_segments: u64Number of visible WAL segments after the current manifest.
retention_floor_seq: ChangeSeqOldest sequence still promised for incremental replay.
Trait Implementations§
Source§impl Clone for NamespaceStatusResponse
impl Clone for NamespaceStatusResponse
Source§fn clone(&self) -> NamespaceStatusResponse
fn clone(&self) -> NamespaceStatusResponse
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 NamespaceStatusResponse
impl Debug for NamespaceStatusResponse
Source§impl<'de> Deserialize<'de> for NamespaceStatusResponse
impl<'de> Deserialize<'de> for NamespaceStatusResponse
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 NamespaceStatusResponse
Source§impl PartialEq for NamespaceStatusResponse
impl PartialEq for NamespaceStatusResponse
Source§impl Serialize for NamespaceStatusResponse
impl Serialize for NamespaceStatusResponse
impl StructuralPartialEq for NamespaceStatusResponse
Auto Trait Implementations§
impl Freeze for NamespaceStatusResponse
impl RefUnwindSafe for NamespaceStatusResponse
impl Send for NamespaceStatusResponse
impl Sync for NamespaceStatusResponse
impl Unpin for NamespaceStatusResponse
impl UnsafeUnpin for NamespaceStatusResponse
impl UnwindSafe for NamespaceStatusResponse
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