pub struct TierInfo {
pub name: String,
pub tier_type: String,
pub technology: String,
pub description: String,
pub target_latency: String,
pub capacity: Option<String>,
pub status: String,
pub current_count: u64,
pub hit_count: u64,
pub hit_rate: f64,
}Expand description
Information about a single storage tier.
Fields§
§name: StringTier name (e.g. “hot”, “warm”, “cold”).
tier_type: StringTier classification.
technology: StringUnderlying storage technology.
description: StringHuman-readable tier description.
target_latency: StringTarget access latency.
capacity: Option<String>Optional capacity limit.
status: StringCurrent tier status.
current_count: u64Number of items currently in this tier.
hit_count: u64Number of cache/access hits.
hit_rate: f64Hit rate as a fraction (0.0–1.0).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TierInfo
impl<'de> Deserialize<'de> for TierInfo
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 TierInfo
impl RefUnwindSafe for TierInfo
impl Send for TierInfo
impl Sync for TierInfo
impl Unpin for TierInfo
impl UnsafeUnpin for TierInfo
impl UnwindSafe for TierInfo
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