pub struct BackupSnapshot {
pub path: PathBuf,
pub timestamp: String,
}Expand description
One available backup snapshot for a service.
Fields§
§path: PathBufFilesystem path: ~/.local/state/ryra/backups/<timestamp>/<service>/.
timestamp: StringYYYY-MM-DDTHH-MM-SSZ timestamp from the parent dir name.
Trait Implementations§
Source§impl Clone for BackupSnapshot
impl Clone for BackupSnapshot
Source§fn clone(&self) -> BackupSnapshot
fn clone(&self) -> BackupSnapshot
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 moreAuto Trait Implementations§
impl Freeze for BackupSnapshot
impl RefUnwindSafe for BackupSnapshot
impl Send for BackupSnapshot
impl Sync for BackupSnapshot
impl Unpin for BackupSnapshot
impl UnsafeUnpin for BackupSnapshot
impl UnwindSafe for BackupSnapshot
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