pub struct BackupStatus {
pub initial_setup_present: bool,
pub timestamped: Vec<String>,
pub disk: DiskBackupProbe,
}Expand description
Snapshot of backup-related host state for status API / TUI.
Fields§
§initial_setup_present: boolTrue when the initial setup backup tree exists.
timestamped: Vec<String>Timestamped /etc backup directory names.
disk: DiskBackupProbeDisk / partclone readiness probe.
Trait Implementations§
Source§impl Clone for BackupStatus
impl Clone for BackupStatus
Source§fn clone(&self) -> BackupStatus
fn clone(&self) -> BackupStatus
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 BackupStatus
impl Debug for BackupStatus
Source§impl<'de> Deserialize<'de> for BackupStatus
impl<'de> Deserialize<'de> for BackupStatus
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 BackupStatus
impl RefUnwindSafe for BackupStatus
impl Send for BackupStatus
impl Sync for BackupStatus
impl Unpin for BackupStatus
impl UnsafeUnpin for BackupStatus
impl UnwindSafe for BackupStatus
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