pub struct BuildOutputAssembly { /* private fields */ }Expand description
Canonical, stateless request to assemble recorded outputs into one index.
This value owns no execution, cache, queue, journal, or publication state. Construction proves that all inputs describe the same build intent and source, differing only by their unique target platform.
Implementations§
Source§impl BuildOutputAssembly
impl BuildOutputAssembly
Sourcepub fn new(
reference: impl Into<String>,
source_digest: impl Into<String>,
inputs: Vec<BuildOutputAssemblyInput>,
) -> Result<Self, BuildAssemblyError>
pub fn new( reference: impl Into<String>, source_digest: impl Into<String>, inputs: Vec<BuildOutputAssemblyInput>, ) -> Result<Self, BuildAssemblyError>
Validate and canonically sort one bounded multi-platform assembly.
Sourcepub fn source_digest(&self) -> &str
pub fn source_digest(&self) -> &str
Immutable source Artifact digest shared by every input.
Sourcepub fn inputs(&self) -> &[BuildOutputAssemblyInput]
pub fn inputs(&self) -> &[BuildOutputAssemblyInput]
Canonically platform-sorted plan and receipt inputs.
Trait Implementations§
Source§impl Clone for BuildOutputAssembly
impl Clone for BuildOutputAssembly
Source§fn clone(&self) -> BuildOutputAssembly
fn clone(&self) -> BuildOutputAssembly
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 moreAuto Trait Implementations§
impl Freeze for BuildOutputAssembly
impl RefUnwindSafe for BuildOutputAssembly
impl Send for BuildOutputAssembly
impl Sync for BuildOutputAssembly
impl Unpin for BuildOutputAssembly
impl UnsafeUnpin for BuildOutputAssembly
impl UnwindSafe for BuildOutputAssembly
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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