pub struct BackupEngineInfo {
    pub timestamp: i64,
    pub backup_id: u32,
    pub size: u64,
    pub num_files: u32,
}
Expand description

Represents information of a backup including timestamp of the backup and the size (please note that sum of all backups’ sizes is bigger than the actual size of the backup directory because some data is shared by multiple backups). Backups are identified by their always-increasing IDs.

Fields

timestamp: i64

Timestamp of the backup

backup_id: u32

ID of the backup

size: u64

Size of the backup

num_files: u32

Number of files related to the backup

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.