pub struct WorkspaceStats {
pub total_created: usize,
pub total_allocations: usize,
pub total_releases: usize,
pub total_expansions: usize,
pub total_defragmentations: usize,
pub current_total_size: usize,
}Expand description
Workspace usage statistics.
Fields§
§total_created: usizeTotal workspaces created
total_allocations: usizeTotal allocations
total_releases: usizeTotal releases
total_expansions: usizeTotal expansions
total_defragmentations: usizeTotal defragmentations
current_total_size: usizeCurrent total size (bytes)
Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceStats
impl Clone for WorkspaceStats
Source§fn clone(&self) -> WorkspaceStats
fn clone(&self) -> WorkspaceStats
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 WorkspaceStats
impl Debug for WorkspaceStats
Source§impl Default for WorkspaceStats
impl Default for WorkspaceStats
Source§fn default() -> WorkspaceStats
fn default() -> WorkspaceStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceStats
impl<'de> Deserialize<'de> for WorkspaceStats
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 WorkspaceStats
impl RefUnwindSafe for WorkspaceStats
impl Send for WorkspaceStats
impl Sync for WorkspaceStats
impl Unpin for WorkspaceStats
impl UnwindSafe for WorkspaceStats
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