pub struct StoreHealth {
pub partitions: usize,
pub bytes: u64,
pub oldest: Option<Partition>,
pub events: u64,
pub unpriced_models: Vec<String>,
}Expand description
Store-side stats, plus the reasons a cost column might be blank.
Fields§
§partitions: usize§bytes: u64§oldest: Option<Partition>§events: u64§unpriced_models: Vec<String>Models seen with token counts but no configured price. Their cost is blank because pricing is user-editable config, not a built-in table.
Trait Implementations§
Source§impl Clone for StoreHealth
impl Clone for StoreHealth
Source§fn clone(&self) -> StoreHealth
fn clone(&self) -> StoreHealth
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 StoreHealth
impl Debug for StoreHealth
Source§impl Default for StoreHealth
impl Default for StoreHealth
Source§fn default() -> StoreHealth
fn default() -> StoreHealth
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StoreHealth
impl RefUnwindSafe for StoreHealth
impl Send for StoreHealth
impl Sync for StoreHealth
impl Unpin for StoreHealth
impl UnsafeUnpin for StoreHealth
impl UnwindSafe for StoreHealth
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