pub struct BackupManifest {
pub version: String,
pub created_at: String,
pub label: Option<String>,
pub hostname: String,
pub versions: ComponentVersions,
pub checksums: HashMap<String, String>,
pub contents: BackupContents,
}Expand description
Backup manifest containing metadata about the backup.
Fields§
§version: StringManifest format version (e.g., “1.0.0”)
created_at: StringWhen the backup was created (ISO 8601 format)
label: Option<String>Optional user-provided label
hostname: StringMachine hostname
versions: ComponentVersionsSuperNovae component versions
checksums: HashMap<String, String>SHA-256 checksums for each backed-up file (relative path -> hex checksum)
contents: BackupContentsWhat was included in the backup
Implementations§
Trait Implementations§
Source§impl Clone for BackupManifest
impl Clone for BackupManifest
Source§fn clone(&self) -> BackupManifest
fn clone(&self) -> BackupManifest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BackupManifest
impl RefUnwindSafe for BackupManifest
impl Send for BackupManifest
impl Sync for BackupManifest
impl Unpin for BackupManifest
impl UnsafeUnpin for BackupManifest
impl UnwindSafe for BackupManifest
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