pub struct UnitEntry {
pub name: String,
pub profile: String,
pub memo: String,
pub hash: String,
pub stamp: u64,
pub files: Vec<FileEntry>,
}Expand description
One stored unit group.
Fields§
§name: StringFingerprint dir name: <pkg>-<16hex>.
profile: String§memo: StringMemo file name, e.g. lib-serde.
hash: StringMemo file content — the authoritative 16-hex hash.
stamp: u64Canonical mtime of the whole group (whole seconds).
files: Vec<FileEntry>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnitEntry
impl<'de> Deserialize<'de> for UnitEntry
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 UnitEntry
impl RefUnwindSafe for UnitEntry
impl Send for UnitEntry
impl Sync for UnitEntry
impl Unpin for UnitEntry
impl UnsafeUnpin for UnitEntry
impl UnwindSafe for UnitEntry
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