pub struct TtlStats {
pub namespace: String,
pub vectors_with_ttl: u64,
pub expiring_within_hour: u64,
pub expiring_within_day: u64,
pub expired_pending_cleanup: u64,
}Expand description
TTL statistics for a namespace
Fields§
§namespace: String§vectors_with_ttl: u64§expiring_within_hour: u64§expiring_within_day: u64§expired_pending_cleanup: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for TtlStats
impl<'de> Deserialize<'de> for TtlStats
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
Auto Trait Implementations§
impl Freeze for TtlStats
impl RefUnwindSafe for TtlStats
impl Send for TtlStats
impl Sync for TtlStats
impl Unpin for TtlStats
impl UnsafeUnpin for TtlStats
impl UnwindSafe for TtlStats
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