pub struct BackupStatusView {
pub configured: bool,
pub backend_label: Option<String>,
pub enrolled: Vec<String>,
}Expand description
The effective backup configuration plus enrolled services
(ryra backup status).
Fields§
§configured: bool[backup] is configured (env-seeded, CLI, or manual).
backend_label: Option<String>Human label for the backend, e.g. “S3: my-bucket (…)”. None when unset.
enrolled: Vec<String>Services enrolled in backups (metadata.backup_enabled).
Trait Implementations§
Source§impl Clone for BackupStatusView
impl Clone for BackupStatusView
Source§fn clone(&self) -> BackupStatusView
fn clone(&self) -> BackupStatusView
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 BackupStatusView
impl Debug for BackupStatusView
Source§impl<'de> Deserialize<'de> for BackupStatusView
impl<'de> Deserialize<'de> for BackupStatusView
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 BackupStatusView
impl RefUnwindSafe for BackupStatusView
impl Send for BackupStatusView
impl Sync for BackupStatusView
impl Unpin for BackupStatusView
impl UnsafeUnpin for BackupStatusView
impl UnwindSafe for BackupStatusView
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