pub struct BackupInfoView {
pub supported: bool,
pub enrolled: bool,
pub stops_backup: bool,
pub stops_restore: bool,
}Expand description
Whether a service’s backup/restore stops it, derived from its [backup]
config. Drives the dashboard’s downtime notices (ryra backup shows the
same up front in its prompts).
Fields§
§supported: boolThe service declares backup support ([backup] is present).
enrolled: boolEnrolled in the daily/weekly schedule (metadata.backup_enabled). A
one-off backup doesn’t require this; it only governs scheduled runs.
stops_backup: boolA backup stops the service (cold snapshot) rather than running live.
stops_restore: boolA restore stops the service while its data is replaced.
Trait Implementations§
Source§impl Clone for BackupInfoView
impl Clone for BackupInfoView
Source§fn clone(&self) -> BackupInfoView
fn clone(&self) -> BackupInfoView
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 BackupInfoView
impl Debug for BackupInfoView
Source§impl<'de> Deserialize<'de> for BackupInfoView
impl<'de> Deserialize<'de> for BackupInfoView
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 BackupInfoView
impl RefUnwindSafe for BackupInfoView
impl Send for BackupInfoView
impl Sync for BackupInfoView
impl Unpin for BackupInfoView
impl UnsafeUnpin for BackupInfoView
impl UnwindSafe for BackupInfoView
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