pub struct IngestedPack {
pub object_ids: HashSet<ObjectId>,
pub pack_path: Option<PathBuf>,
pub object_counts: ObjectKindCounts,
pub pack_bytes: u64,
}Expand description
Result of ingesting a received pack into an object database.
Fields§
§object_ids: HashSet<ObjectId>Object ids the pack delivered.
pack_path: Option<PathBuf>Absolute path to the published pack-*.pack file.
None when nothing was published: the pack was empty, or the object database
has a custom OdbBuilder::primary store and
the objects were written into it one by one.
object_counts: ObjectKindCountsHow many objects of each type the pack holds.
pack_bytes: u64Size in bytes of the published pack (after completing a thin pack), or of the pack stream when the objects went to a custom primary store.
Trait Implementations§
Source§impl Clone for IngestedPack
impl Clone for IngestedPack
Source§impl Debug for IngestedPack
impl Debug for IngestedPack
Source§impl Default for IngestedPack
impl Default for IngestedPack
Source§impl From<IngestedObjects> for IngestedPack
impl From<IngestedObjects> for IngestedPack
Source§fn from(ingested: IngestedObjects) -> Self
fn from(ingested: IngestedObjects) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IngestedPack
impl RefUnwindSafe for IngestedPack
impl Send for IngestedPack
impl Sync for IngestedPack
impl Unpin for IngestedPack
impl UnsafeUnpin for IngestedPack
impl UnwindSafe for IngestedPack
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