pub struct BuildResult {
pub reference: String,
pub digest: String,
pub size: u64,
pub layer_count: usize,
pub descriptor: BuildOutputDescriptor,
pub platform: Platform,
pub layout_directory: PathBuf,
pub blob_count: usize,
pub blob_inventory_digest: String,
}Expand description
Result of a successful single-platform build.
Fields§
§reference: StringImage reference stored in the image store.
digest: StringContent digest.
size: u64Total image size in bytes.
layer_count: usizeNumber of layers.
descriptor: BuildOutputDescriptorTyped root descriptor published by the OCI layout.
platform: PlatformExact platform represented by the single-platform output.
layout_directory: PathBufDurable local OCI image-layout directory owned by the image store.
blob_count: usizeNumber of unique content-addressed blobs in the output layout.
blob_inventory_digest: StringCanonical digest of the sorted digest-and-size blob inventory.
Implementations§
Source§impl BuildResult
impl BuildResult
Sourcepub const fn content_bytes(&self) -> u64
pub const fn content_bytes(&self) -> u64
Total bytes occupied by the durable OCI layout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildResult
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnsafeUnpin for BuildResult
impl UnwindSafe for BuildResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more