Struct bollard::image::RemoveImageOptions
source · pub struct RemoveImageOptions {
pub force: bool,
pub noprune: bool,
}
Expand description
Parameters to the Remove Image API
§Examples
use bollard::image::RemoveImageOptions;
use std::default::Default;
RemoveImageOptions {
force: true,
..Default::default()
};
Fields§
§force: bool
Remove the image even if it is being used by stopped containers or has other tags.
noprune: bool
Do not delete untagged parent images.
Trait Implementations§
source§impl Clone for RemoveImageOptions
impl Clone for RemoveImageOptions
source§fn clone(&self) -> RemoveImageOptions
fn clone(&self) -> RemoveImageOptions
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 RemoveImageOptions
impl Debug for RemoveImageOptions
source§impl Default for RemoveImageOptions
impl Default for RemoveImageOptions
source§fn default() -> RemoveImageOptions
fn default() -> RemoveImageOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for RemoveImageOptions
impl PartialEq for RemoveImageOptions
source§impl Serialize for RemoveImageOptions
impl Serialize for RemoveImageOptions
impl Copy for RemoveImageOptions
impl StructuralPartialEq for RemoveImageOptions
Auto Trait Implementations§
impl Freeze for RemoveImageOptions
impl RefUnwindSafe for RemoveImageOptions
impl Send for RemoveImageOptions
impl Sync for RemoveImageOptions
impl Unpin for RemoveImageOptions
impl UnwindSafe for RemoveImageOptions
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
)