pub struct StagedCommits {
pub parents: BTreeMap<Hash, Vec<Hash>>,
pub objects: usize,
pub bytes: u64,
pub external_bases: BTreeSet<Hash>,
pub denial_ids: BTreeSet<Hash>,
pub denial_packs: Vec<Hash>,
pub inspection: Option<InspectionSet>,
}Expand description
What a verified advance staged: the history edges of its commits, remixes and tags (a tag has none), and the decoded bytes it holds, which the fast-forward walk charges against the decode budget (WP-4.17).
Fields§
§parents: BTreeMap<Hash, Vec<Hash>>Object id to its parents; only remix sources are never followed.
objects: usizeEvery staged object, of any type.
bytes: u64Total decoded bytes of the staged objects.
external_bases: BTreeSet<Hash>Every external source pack used by any consumed entry, including surplus objects.
denial_ids: BTreeSet<Hash>Current decoded IDs and all reused chain sources for fresh denial at apply.
denial_packs: Vec<Hash>Immutable verified inventories, including canonical manifest pages.
inspection: Option<InspectionSet>Complete added-pack inspection metadata, only for configured inspection.
Trait Implementations§
Source§impl Debug for StagedCommits
impl Debug for StagedCommits
Source§impl Default for StagedCommits
impl Default for StagedCommits
impl Eq for StagedCommits
Source§impl PartialEq for StagedCommits
impl PartialEq for StagedCommits
impl StructuralPartialEq for StagedCommits
Auto Trait Implementations§
impl Freeze for StagedCommits
impl RefUnwindSafe for StagedCommits
impl Send for StagedCommits
impl Sync for StagedCommits
impl Unpin for StagedCommits
impl UnsafeUnpin for StagedCommits
impl UnwindSafe for StagedCommits
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