pub struct BuiltManifest {
pub root: ContentHash,
pub nodes: BTreeMap<ContentHash, Vec<u8>>,
pub object_count: u64,
pub decoded_bytes: u64,
}Expand description
The output of a build: a root address plus every node byte string it reaches, deduplicated by address.
Fields§
§root: ContentHash§nodes: BTreeMap<ContentHash, Vec<u8>>§object_count: u64§decoded_bytes: u64Implementations§
Source§impl BuiltManifest
impl BuiltManifest
Sourcepub fn node_hashes(&self) -> Vec<ContentHash>
pub fn node_hashes(&self) -> Vec<ContentHash>
Addresses of every node in this manifest, in address order.
Trait Implementations§
Source§impl Clone for BuiltManifest
impl Clone for BuiltManifest
Source§fn clone(&self) -> BuiltManifest
fn clone(&self) -> BuiltManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuiltManifest
impl Debug for BuiltManifest
impl Eq for BuiltManifest
Source§impl PartialEq for BuiltManifest
impl PartialEq for BuiltManifest
impl StructuralPartialEq for BuiltManifest
Auto Trait Implementations§
impl Freeze for BuiltManifest
impl RefUnwindSafe for BuiltManifest
impl Send for BuiltManifest
impl Sync for BuiltManifest
impl Unpin for BuiltManifest
impl UnsafeUnpin for BuiltManifest
impl UnwindSafe for BuiltManifest
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