pub struct Snapshot {
pub namespaces: Vec<(String, Vec<u8>)>,
pub commits_json: String,
pub refs_json: String,
}Expand description
A serialized snapshot of the full git state, ready for transport.
Contains all namespace data + commit history + refs as Parquet bytes. Self-contained — can be deserialized without any other context.
Fields§
§namespaces: Vec<(String, Vec<u8>)>Per-namespace Parquet bytes. Key = namespace name (e.g., “world”).
commits_json: StringCommitsTable serialized as JSON.
refs_json: StringRefsTable serialized as JSON.
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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