pub struct DeleteNodeOptions {
pub force: bool,
}๐Deprecated since 0.19.0: use the OpenAPI generated bollard::query_parameters::DeleteNodeOptions and associated DeleteNodeOptionsBuilder
Expand description
Parameters used in the Delete Node API
ยงExamples
use bollard::node::DeleteNodeOptions;
use std::default::Default;
DeleteNodeOptions{
force: true,
..Default::default()
};Fieldsยง
ยงforce: bool๐Deprecated since 0.19.0: use the OpenAPI generated bollard::query_parameters::DeleteNodeOptions and associated DeleteNodeOptionsBuilder
Force remove a node from the swarm.
Trait Implementationsยง
Sourceยงimpl Clone for DeleteNodeOptions
impl Clone for DeleteNodeOptions
Sourceยงfn clone(&self) -> DeleteNodeOptions
fn clone(&self) -> DeleteNodeOptions
Returns a duplicate 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 DeleteNodeOptions
impl Debug for DeleteNodeOptions
Sourceยงimpl Default for DeleteNodeOptions
impl Default for DeleteNodeOptions
Sourceยงfn default() -> DeleteNodeOptions
fn default() -> DeleteNodeOptions
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl From<DeleteNodeOptions> for DeleteNodeOptions
impl From<DeleteNodeOptions> for DeleteNodeOptions
Sourceยงfn from(opts: DeleteNodeOptions) -> Self
fn from(opts: DeleteNodeOptions) -> Self
Converts to this type from the input type.
Sourceยงimpl PartialEq for DeleteNodeOptions
impl PartialEq for DeleteNodeOptions
Sourceยงimpl Serialize for DeleteNodeOptions
impl Serialize for DeleteNodeOptions
impl Copy for DeleteNodeOptions
impl StructuralPartialEq for DeleteNodeOptions
Auto Trait Implementationsยง
impl Freeze for DeleteNodeOptions
impl RefUnwindSafe for DeleteNodeOptions
impl Send for DeleteNodeOptions
impl Sync for DeleteNodeOptions
impl Unpin for DeleteNodeOptions
impl UnwindSafe for DeleteNodeOptions
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