pub struct StoredUnit {
pub generation: String,
pub entry: UnitEntry,
pub dir: PathBuf,
}Expand description
One unit as the vault holds it.
Fields§
§generation: StringThe generation directory the unit lives in (the parity key).
entry: UnitEntryThe manifest entry: name, profile, hash, stamp, files.
dir: PathBufstore/<generation>/units/<name>.
Trait Implementations§
Source§impl Clone for StoredUnit
impl Clone for StoredUnit
Auto Trait Implementations§
impl Freeze for StoredUnit
impl RefUnwindSafe for StoredUnit
impl Send for StoredUnit
impl Sync for StoredUnit
impl Unpin for StoredUnit
impl UnsafeUnpin for StoredUnit
impl UnwindSafe for StoredUnit
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