pub struct ForgetView {
pub service: String,
pub kept: u32,
pub removed: u32,
pub dry_run: bool,
}Expand description
Per-service result of a retention sweep (ForgetBackups).
Fields§
§service: String§kept: u32Snapshots kept after the sweep.
removed: u32Snapshots removed (in a dry run, the count that WOULD be removed).
dry_run: boolTrue when this was a preview (--dry-run); nothing was deleted.
Trait Implementations§
Source§impl Clone for ForgetView
impl Clone for ForgetView
Source§fn clone(&self) -> ForgetView
fn clone(&self) -> ForgetView
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 ForgetView
impl Debug for ForgetView
Source§impl<'de> Deserialize<'de> for ForgetView
impl<'de> Deserialize<'de> for ForgetView
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 ForgetView
impl RefUnwindSafe for ForgetView
impl Send for ForgetView
impl Sync for ForgetView
impl Unpin for ForgetView
impl UnsafeUnpin for ForgetView
impl UnwindSafe for ForgetView
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