pub struct RootEntry {
pub name: String,
pub entry_type: String,
pub obj: String,
pub summary: Option<DirSummary>,
}Expand description
The rootEntry of a snapshot — the top directory object plus its summary.
Fields§
§name: StringEntry name (basename of the snapshotted path).
entry_type: StringEntry type, e.g. “d” for directory.
obj: StringThe kopia object id of the root (the k... handle).
summary: Option<DirSummary>Aggregate directory summary. Optional because non-directory roots omit it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RootEntry
impl<'de> Deserialize<'de> for RootEntry
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
impl Eq for RootEntry
impl StructuralPartialEq for RootEntry
Auto Trait Implementations§
impl Freeze for RootEntry
impl RefUnwindSafe for RootEntry
impl Send for RootEntry
impl Sync for RootEntry
impl Unpin for RootEntry
impl UnsafeUnpin for RootEntry
impl UnwindSafe for RootEntry
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