pub struct AdvancedBuildStepBuilder { /* private fields */ }
Expand description
Builder for AdvancedBuildStep
.
Implementations§
Source§impl AdvancedBuildStepBuilder
impl AdvancedBuildStepBuilder
pub fn context<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn dockerfile<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn args<VALUE: Into<Option<BuildArgs>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn shm_size<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self
pub fn target<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn network<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn cache_from<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn labels<VALUE: Into<Labels>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<AdvancedBuildStep, AdvancedBuildStepBuilderError>
pub fn build(&self) -> Result<AdvancedBuildStep, AdvancedBuildStepBuilderError>
Trait Implementations§
Source§impl Clone for AdvancedBuildStepBuilder
impl Clone for AdvancedBuildStepBuilder
Source§fn clone(&self) -> AdvancedBuildStepBuilder
fn clone(&self) -> AdvancedBuildStepBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AdvancedBuildStepBuilder
impl RefUnwindSafe for AdvancedBuildStepBuilder
impl Send for AdvancedBuildStepBuilder
impl Sync for AdvancedBuildStepBuilder
impl Unpin for AdvancedBuildStepBuilder
impl UnwindSafe for AdvancedBuildStepBuilder
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