pub struct SnapshotUsage {
pub snapshots: u64,
pub branches: u64,
pub retained_bytes: u64,
pub cumulative_copy_bytes: u64,
}Expand description
Observed logical snapshot accounting, separate from capture/transport limits.
Fields§
§snapshots: u64Retained snapshot count.
branches: u64Retained branch count.
retained_bytes: u64Sum of retained logical estimates, including provisional copies.
cumulative_copy_bytes: u64Monotone copying allowance consumed by all admitted attempts.
Trait Implementations§
Source§impl Clone for SnapshotUsage
impl Clone for SnapshotUsage
Source§fn clone(&self) -> SnapshotUsage
fn clone(&self) -> SnapshotUsage
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 moreimpl Copy for SnapshotUsage
Source§impl Debug for SnapshotUsage
impl Debug for SnapshotUsage
Source§impl Default for SnapshotUsage
impl Default for SnapshotUsage
Source§fn default() -> SnapshotUsage
fn default() -> SnapshotUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotUsage
impl<'de> Deserialize<'de> for SnapshotUsage
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
impl Eq for SnapshotUsage
Source§impl PartialEq for SnapshotUsage
impl PartialEq for SnapshotUsage
Source§impl Serialize for SnapshotUsage
impl Serialize for SnapshotUsage
impl StructuralPartialEq for SnapshotUsage
Auto Trait Implementations§
impl Freeze for SnapshotUsage
impl RefUnwindSafe for SnapshotUsage
impl Send for SnapshotUsage
impl Sync for SnapshotUsage
impl Unpin for SnapshotUsage
impl UnsafeUnpin for SnapshotUsage
impl UnwindSafe for SnapshotUsage
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