Struct bollard::container::WaitContainerOptions
source · Expand description
Parameters used in the Wait Container API
Examples
use bollard::container::WaitContainerOptions;
WaitContainerOptions{
condition: "not-running",
};
Fields§
§condition: T
Wait until a container state reaches the given condition, either ‘not-running’ (default), ‘next-exit’, or ‘removed’.
Trait Implementations§
source§impl<T: Clone> Clone for WaitContainerOptions<T>where
T: AsRef<str>,
impl<T: Clone> Clone for WaitContainerOptions<T>where
T: AsRef<str>,
source§fn clone(&self) -> WaitContainerOptions<T>
fn clone(&self) -> WaitContainerOptions<T>
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<T: Default> Default for WaitContainerOptions<T>where
T: AsRef<str>,
impl<T: Default> Default for WaitContainerOptions<T>where
T: AsRef<str>,
source§fn default() -> WaitContainerOptions<T>
fn default() -> WaitContainerOptions<T>
Returns the “default value” for a type. Read more