Struct dagger_sdk::ContainerPublishOptsBuilder
source · pub struct ContainerPublishOptsBuilder { /* private fields */ }Expand description
Builder for ContainerPublishOpts.
Implementations§
source§impl ContainerPublishOptsBuilder
impl ContainerPublishOptsBuilder
sourcepub fn platform_variants<VALUE: Into<Vec<ContainerId>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn platform_variants<VALUE: Into<Vec<ContainerId>>>( &mut self, value: VALUE ) -> &mut Self
Identifiers for other platform specific containers. Used for multi-platform image.
sourcepub fn build(
&self
) -> Result<ContainerPublishOpts, ContainerPublishOptsBuilderError>
pub fn build( &self ) -> Result<ContainerPublishOpts, ContainerPublishOptsBuilderError>
Trait Implementations§
source§impl Clone for ContainerPublishOptsBuilder
impl Clone for ContainerPublishOptsBuilder
source§fn clone(&self) -> ContainerPublishOptsBuilder
fn clone(&self) -> ContainerPublishOptsBuilder
Returns a copy of the value. Read more
1.0.0 · 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 RefUnwindSafe for ContainerPublishOptsBuilder
impl Send for ContainerPublishOptsBuilder
impl Sync for ContainerPublishOptsBuilder
impl Unpin for ContainerPublishOptsBuilder
impl UnwindSafe for ContainerPublishOptsBuilder
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