pub struct SortedSetStats {
pub total_keys: usize,
pub total_members: usize,
pub avg_members_per_key: f64,
pub memory_bytes: usize,
}Expand description
Statistics for sorted sets
Fields§
§total_keys: usize§total_members: usize§avg_members_per_key: f64§memory_bytes: usizeTrait Implementations§
Source§impl Clone for SortedSetStats
impl Clone for SortedSetStats
Source§fn clone(&self) -> SortedSetStats
fn clone(&self) -> SortedSetStats
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 SortedSetStats
impl Debug for SortedSetStats
Source§impl Default for SortedSetStats
impl Default for SortedSetStats
Source§fn default() -> SortedSetStats
fn default() -> SortedSetStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortedSetStats
impl<'de> Deserialize<'de> for SortedSetStats
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 SortedSetStats
impl RefUnwindSafe for SortedSetStats
impl Send for SortedSetStats
impl Sync for SortedSetStats
impl Unpin for SortedSetStats
impl UnsafeUnpin for SortedSetStats
impl UnwindSafe for SortedSetStats
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