pub struct StoreSummary {
pub name: String,
pub root_folder: PathBuf,
pub granularity: PartitionGranularity,
pub pv_file_count: Option<u64>,
pub pv_size_bytes: Option<u64>,
pub total_size_bytes: Option<u64>,
pub total_files: Option<u64>,
}Expand description
Per-tier description of a storage stage. Surfaced through the
getStoresForPV and getApplianceMetrics BPL endpoints so operators
can see tier layout and per-PV file counts without poking the disk.
Fields§
§name: String§root_folder: PathBuf§granularity: PartitionGranularity§pv_file_count: Option<u64>Number of .pb partition files this tier holds for the given PV.
None when the summary was requested without a PV scope.
pv_size_bytes: Option<u64>Sum of .pb file sizes (bytes) for the given PV in this tier.
None when the summary was requested without a PV scope.
total_size_bytes: Option<u64>Total size on disk of all .pb files in this tier (bytes), summed across PVs.
None when the summary is PV-scoped.
total_files: Option<u64>Total number of .pb files in this tier across all PVs.
None when the summary is PV-scoped.
Trait Implementations§
Source§impl Clone for StoreSummary
impl Clone for StoreSummary
Source§fn clone(&self) -> StoreSummary
fn clone(&self) -> StoreSummary
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 moreAuto Trait Implementations§
impl Freeze for StoreSummary
impl RefUnwindSafe for StoreSummary
impl Send for StoreSummary
impl Sync for StoreSummary
impl Unpin for StoreSummary
impl UnsafeUnpin for StoreSummary
impl UnwindSafe for StoreSummary
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