pub struct ContainerFromOptsBuilder { /* private fields */ }Expand description
Builder for ContainerFromOpts.
Implementations§
Source§impl ContainerFromOptsBuilder
impl ContainerFromOptsBuilder
Sourcepub fn registry_service<VALUE: Into<Id>>(&mut self, value: VALUE) -> &mut Self
pub fn registry_service<VALUE: Into<Id>>(&mut self, value: VALUE) -> &mut Self
Service to use as the registry endpoint for the image address. The service will be started only for this pull.
Sourcepub fn build(&self) -> Result<ContainerFromOpts, ContainerFromOptsBuilderError>
pub fn build(&self) -> Result<ContainerFromOpts, ContainerFromOptsBuilderError>
Trait Implementations§
Source§impl Clone for ContainerFromOptsBuilder
impl Clone for ContainerFromOptsBuilder
Source§fn clone(&self) -> ContainerFromOptsBuilder
fn clone(&self) -> ContainerFromOptsBuilder
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 ContainerFromOptsBuilder
impl RefUnwindSafe for ContainerFromOptsBuilder
impl Send for ContainerFromOptsBuilder
impl Sync for ContainerFromOptsBuilder
impl Unpin for ContainerFromOptsBuilder
impl UnsafeUnpin for ContainerFromOptsBuilder
impl UnwindSafe for ContainerFromOptsBuilder
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