pub struct PoolErasureSetInfo {
pub id: i32,
pub raw_usage: u64,
pub raw_capacity: u64,
pub usage: u64,
pub objects_count: u64,
pub versions_count: u64,
pub delete_markers_count: u64,
pub heal_disks: i32,
}Expand description
Pool erasure set metrics returned by cluster information.
Fields§
§id: i32Erasure set ID within the pool.
raw_usage: u64Raw used capacity in bytes.
raw_capacity: u64Raw total capacity in bytes.
usage: u64Object data usage in bytes.
objects_count: u64Number of objects in the set.
versions_count: u64Number of versions in the set.
delete_markers_count: u64Number of delete markers in the set.
heal_disks: i32Number of healing disks in the set.
Trait Implementations§
Source§impl Clone for PoolErasureSetInfo
impl Clone for PoolErasureSetInfo
Source§fn clone(&self) -> PoolErasureSetInfo
fn clone(&self) -> PoolErasureSetInfo
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 PoolErasureSetInfo
impl Debug for PoolErasureSetInfo
Source§impl Default for PoolErasureSetInfo
impl Default for PoolErasureSetInfo
Source§fn default() -> PoolErasureSetInfo
fn default() -> PoolErasureSetInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PoolErasureSetInfo
impl<'de> Deserialize<'de> for PoolErasureSetInfo
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 PoolErasureSetInfo
impl RefUnwindSafe for PoolErasureSetInfo
impl Send for PoolErasureSetInfo
impl Sync for PoolErasureSetInfo
impl Unpin for PoolErasureSetInfo
impl UnsafeUnpin for PoolErasureSetInfo
impl UnwindSafe for PoolErasureSetInfo
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