Struct bollard::container::RemoveContainerOptions
source · pub struct RemoveContainerOptions {
pub v: bool,
pub force: bool,
pub link: bool,
}
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
source§impl PartialEq for RemoveContainerOptions
impl PartialEq for RemoveContainerOptions
source§impl Serialize for RemoveContainerOptions
impl Serialize for RemoveContainerOptions
impl Copy for RemoveContainerOptions
impl StructuralPartialEq for RemoveContainerOptions
Auto Trait Implementations§
impl Freeze for RemoveContainerOptions
impl RefUnwindSafe for RemoveContainerOptions
impl Send for RemoveContainerOptions
impl Sync for RemoveContainerOptions
impl Unpin for RemoveContainerOptions
impl UnwindSafe for RemoveContainerOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)