pub struct UsageSummary {
pub total_memory_gb: f64,
pub total_ops: u64,
pub total_bandwidth_gb: f64,
pub database_count: u32,
pub node_count: u32,
pub shard_count: u32,
}
Expand description
Usage summary
Fields§
§total_memory_gb: f64
Total memory usage across the cluster (GB)
total_ops: u64
Total number of operations across the cluster
total_bandwidth_gb: f64
Total bandwidth usage across the cluster (GB)
database_count: u32
Total number of databases in the cluster
node_count: u32
Total number of nodes in the cluster
shard_count: u32
Total number of shards in the cluster
Trait Implementations§
Source§impl Clone for UsageSummary
impl Clone for UsageSummary
Source§fn clone(&self) -> UsageSummary
fn clone(&self) -> UsageSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 UsageSummary
impl Debug for UsageSummary
Source§impl<'de> Deserialize<'de> for UsageSummary
impl<'de> Deserialize<'de> for UsageSummary
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 UsageSummary
impl RefUnwindSafe for UsageSummary
impl Send for UsageSummary
impl Sync for UsageSummary
impl Unpin for UsageSummary
impl UnwindSafe for UsageSummary
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