pub struct Manifest {
pub files: Vec<FileEntry>,
pub created_at: String,
pub tool_version: String,
pub meta: BTreeMap<String, String>,
pub dropped: BTreeMap<String, Vec<String>>,
}Expand description
What one bundle contains.
The whole document is a calculation over values the caller already has,
so two bundles of the same files compare equal whoever ran them. Only
created_at is left out of the comparison: it says when, not what.
Fields§
§files: Vec<FileEntry>One entry per bundled file, in the order the bundle wrote them.
created_at: StringWhen the bundle was made, as the caller supplied it.
The only wall-clock value in a bundle, and the only field that comparison ignores.
tool_version: StringThe version of the tool that wrote it.
meta: BTreeMap<String, String>Free-form facts the caller attached: a window, a label, anything.
dropped: BTreeMap<String, Vec<String>>Columns left behind, per file, for files that carried extras.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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 Manifest
Auto Trait Implementations§
impl Forget for Manifest
impl Freeze for Manifest
impl Move for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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