pub struct SnapshotView {
pub id: String,
pub time: String,
pub tags: Vec<String>,
}Expand description
One restic data snapshot (ryra backup list).
Fields§
§id: StringShort restic snapshot id; pass back as the restore snapshot.
time: StringRFC3339 timestamp the snapshot was taken.
Restic tags (e.g. service:foo, manifest_sha:...).
Trait Implementations§
Source§impl Clone for SnapshotView
impl Clone for SnapshotView
Source§fn clone(&self) -> SnapshotView
fn clone(&self) -> SnapshotView
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 moreSource§impl Debug for SnapshotView
impl Debug for SnapshotView
Source§impl<'de> Deserialize<'de> for SnapshotView
impl<'de> Deserialize<'de> for SnapshotView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SnapshotView
impl RefUnwindSafe for SnapshotView
impl Send for SnapshotView
impl Sync for SnapshotView
impl Unpin for SnapshotView
impl UnsafeUnpin for SnapshotView
impl UnwindSafe for SnapshotView
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