pub struct BackupDrive {
pub path: Option<String>,
pub disk: Option<Vec<u8>>,
pub remote: bool,
pub unjournaled: bool,
}Expand description
What the drive or share that holds a backup’s folder is, as copies count it.
Fields§
§path: Option<String>The folder’s path from the root of its drive or share, with / between names, if the
system says: where computers look for it under each mount.
disk: Option<Vec<u8>>What names its disk, as a replica’s would be, so that a backup and a replica on one
drive count once; None where nothing names it, as on a network share, where the
backup itself names its disk.
remote: boolWhether it is on another computer, as a network share is.
unjournaled: boolWhether its file system keeps no journal, as FAT, exFAT and ext2, so that a drive pulled out while written may damage other files.
Trait Implementations§
Source§impl Clone for BackupDrive
impl Clone for BackupDrive
Source§impl Debug for BackupDrive
impl Debug for BackupDrive
Source§impl Default for BackupDrive
impl Default for BackupDrive
impl Eq for BackupDrive
Source§impl PartialEq for BackupDrive
impl PartialEq for BackupDrive
impl StructuralPartialEq for BackupDrive
Auto Trait Implementations§
impl Forget for BackupDrive
impl Freeze for BackupDrive
impl Move for BackupDrive
impl RefUnwindSafe for BackupDrive
impl Send for BackupDrive
impl Sync for BackupDrive
impl Unpin for BackupDrive
impl UnsafeUnpin for BackupDrive
impl UnwindSafe for BackupDrive
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.