pub struct DockerOptions {
pub image: String,
pub pull_policy: String,
pub engine_path: String,
pub startup_timeout: Duration,
pub container_name_prefix: String,
pub extra_args: Vec<String>,
pub env: HashMap<String, String>,
}Expand description
Docker backend options
Fields§
§image: StringDocker image to use
pull_policy: StringPull policy: never, if-missing, always
engine_path: StringPath to docker CLI
startup_timeout: DurationContainer startup timeout
container_name_prefix: StringContainer name prefix
extra_args: Vec<String>Extra docker run arguments
env: HashMap<String, String>Environment variables
Trait Implementations§
Source§impl Clone for DockerOptions
impl Clone for DockerOptions
Source§fn clone(&self) -> DockerOptions
fn clone(&self) -> DockerOptions
Returns a duplicate 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 moreSource§impl Debug for DockerOptions
impl Debug for DockerOptions
Auto Trait Implementations§
impl Freeze for DockerOptions
impl RefUnwindSafe for DockerOptions
impl Send for DockerOptions
impl Sync for DockerOptions
impl Unpin for DockerOptions
impl UnsafeUnpin for DockerOptions
impl UnwindSafe for DockerOptions
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