pub struct BackupRun {
pub dir: String,
pub apply_id: String,
pub time: SystemTime,
pub files: Vec<PathBuf>,
}Expand description
One apply run’s client file backups.
Fields§
§dir: StringThe run’s directory name (<ts>-<apply-id>), unique per run.
apply_id: StringThe apply id, or restore-<run id>-<ulid> for the bytes a client
file restore replaced.
time: SystemTime§files: Vec<PathBuf>The original paths of the files backed up, sorted.
Trait Implementations§
impl Eq for BackupRun
impl StructuralPartialEq for BackupRun
Auto Trait Implementations§
impl Forget for BackupRun
impl Freeze for BackupRun
impl Move for BackupRun
impl RefUnwindSafe for BackupRun
impl Send for BackupRunwhere
RawVecInner: Send,
impl Sync for BackupRunwhere
RawVecInner: Sync,
impl Unpin for BackupRun
impl UnsafeUnpin for BackupRunwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for BackupRunwhere
RawVecInner: UnwindSafe,
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
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.