pub struct Bundle {
pub hh_version: String,
pub session: Value,
pub events: Vec<Value>,
pub blobs: BTreeMap<String, Vec<u8>>,
}Expand description
A parsed, validated bundle — the output of parse and the input to
crate::store::Store::import.
Fields§
§hh_version: StringThe hh version string that produced this bundle.
session: ValueThe session block from manifest.json (already redacted at export
time, if redaction was enabled).
events: Vec<Value>Events in original (ts_ms, id) order, seq-indexed (see module docs).
blobs: BTreeMap<String, Vec<u8>>Every blob referenced by events, keyed by its (possibly
redaction-remapped) BLAKE3 hash.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bundle
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnsafeUnpin for Bundle
impl UnwindSafe for Bundle
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