Struct rustainers::compose::ComposeRunOption
source · pub struct ComposeRunOption { /* private fields */ }Expand description
Run options
Available options:
wait_interval: wait until re-check a container state (default 1s)wait_services_interval: wait until re-check that all services starting (default 96ms)env: a map of environment variables used when launch the containercompose-file: if you need to use another compose file (--fileoption)
Implementations§
source§impl ComposeRunOption
impl ComposeRunOption
sourcepub fn builder() -> ComposeRunOptionBuilder<((), (), (), ())>
pub fn builder() -> ComposeRunOptionBuilder<((), (), (), ())>
Create a builder for building ComposeRunOption.
On the builder, call .wait_interval(...)(optional), .wait_services_interval(...)(optional), .env(...)(optional), .compose_file(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ComposeRunOption.
Trait Implementations§
source§impl Clone for ComposeRunOption
impl Clone for ComposeRunOption
source§fn clone(&self) -> ComposeRunOption
fn clone(&self) -> ComposeRunOption
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 moresource§impl Debug for ComposeRunOption
impl Debug for ComposeRunOption
Auto Trait Implementations§
impl RefUnwindSafe for ComposeRunOption
impl Send for ComposeRunOption
impl Sync for ComposeRunOption
impl Unpin for ComposeRunOption
impl UnwindSafe for ComposeRunOption
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