Struct bollard::container::RemoveContainerOptions
source · Expand description
Parameters used in the Remove Container API
Examples
use bollard::container::RemoveContainerOptions;
use std::default::Default;
RemoveContainerOptions{
force: true,
..Default::default()
};
Fields§
§v: bool
Remove the volumes associated with the container.
force: bool
If the container is running, kill it before removing it.
link: bool
Remove the specified link associated with the container.
Trait Implementations§
source§impl Clone for RemoveContainerOptions
impl Clone for RemoveContainerOptions
source§fn clone(&self) -> RemoveContainerOptions
fn clone(&self) -> RemoveContainerOptions
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 RemoveContainerOptions
impl Debug for RemoveContainerOptions
source§impl Default for RemoveContainerOptions
impl Default for RemoveContainerOptions
source§fn default() -> RemoveContainerOptions
fn default() -> RemoveContainerOptions
Returns the “default value” for a type. Read more