pub struct EdgeCacheStatsResponse {
pub hits: u64,
pub misses: u64,
}Expand description
Response body for GET /api/v1/nodes/{node_id}/edge-cache/stats.
Stats are placeholders that always report zeroes today — the real hit/miss counters land in the follow-on cache subsystem. The endpoint exists now so upstream integration tests (Zatabase Wave 1.3.3.7) can build against a stable shape.
Fields§
§hits: u64Total cache hits observed for this node since registration.
misses: u64Total cache misses observed for this node since registration.
Trait Implementations§
Source§impl Clone for EdgeCacheStatsResponse
impl Clone for EdgeCacheStatsResponse
Source§fn clone(&self) -> EdgeCacheStatsResponse
fn clone(&self) -> EdgeCacheStatsResponse
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 ComposeSchema for EdgeCacheStatsResponse
impl ComposeSchema for EdgeCacheStatsResponse
Source§impl Debug for EdgeCacheStatsResponse
impl Debug for EdgeCacheStatsResponse
Source§impl<'de> Deserialize<'de> for EdgeCacheStatsResponse
impl<'de> Deserialize<'de> for EdgeCacheStatsResponse
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
Source§impl Serialize for EdgeCacheStatsResponse
impl Serialize for EdgeCacheStatsResponse
Auto Trait Implementations§
impl Freeze for EdgeCacheStatsResponse
impl RefUnwindSafe for EdgeCacheStatsResponse
impl Send for EdgeCacheStatsResponse
impl Sync for EdgeCacheStatsResponse
impl Unpin for EdgeCacheStatsResponse
impl UnsafeUnpin for EdgeCacheStatsResponse
impl UnwindSafe for EdgeCacheStatsResponse
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