#[non_exhaustive]pub enum ProjectBuild {
Context(ProjectValue<String>),
Definition(ProjectBuildDefinition),
}Expand description
An effective Compose build declaration retaining scalar and mapping syntax.
Only context, args, cache_from, cache_to, dockerfile, dockerfile_inline, entitlements, extra_hosts, target, network, isolation, platforms, no_cache,
sbom, pull, shm_size, tags, labels, secrets, and ulimits are promoted to native values in this slice.
Every other build subfield stays source-addressable as unmodeled evidence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Context(ProjectValue<String>)
A short-syntax scalar build context.
Definition(ProjectBuildDefinition)
A long-syntax build declaration.
Trait Implementations§
Source§impl Clone for ProjectBuild
impl Clone for ProjectBuild
Source§fn clone(&self) -> ProjectBuild
fn clone(&self) -> ProjectBuild
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 ProjectBuild
impl Debug for ProjectBuild
impl Eq for ProjectBuild
Source§impl PartialEq for ProjectBuild
impl PartialEq for ProjectBuild
impl StructuralPartialEq for ProjectBuild
Auto Trait Implementations§
impl Freeze for ProjectBuild
impl RefUnwindSafe for ProjectBuild
impl Send for ProjectBuild
impl Sync for ProjectBuild
impl Unpin for ProjectBuild
impl UnsafeUnpin for ProjectBuild
impl UnwindSafe for ProjectBuild
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