Struct bollard::network::DisconnectNetworkOptions
source · pub struct DisconnectNetworkOptions<T>{
pub container: T,
pub force: bool,
}
Expand description
Network configuration used in the Disconnect Network API
Fields§
§container: T
The ID or name of the container to disconnect from the network.
force: bool
Force the container to disconnect from the network.
Trait Implementations§
source§impl<T> Clone for DisconnectNetworkOptions<T>
impl<T> Clone for DisconnectNetworkOptions<T>
source§fn clone(&self) -> DisconnectNetworkOptions<T>
fn clone(&self) -> DisconnectNetworkOptions<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> Debug for DisconnectNetworkOptions<T>
impl<T> Debug for DisconnectNetworkOptions<T>
source§impl<T> Default for DisconnectNetworkOptions<T>
impl<T> Default for DisconnectNetworkOptions<T>
source§fn default() -> DisconnectNetworkOptions<T>
fn default() -> DisconnectNetworkOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for DisconnectNetworkOptions<T>
impl<T> PartialEq for DisconnectNetworkOptions<T>
source§impl<T> Serialize for DisconnectNetworkOptions<T>
impl<T> Serialize for DisconnectNetworkOptions<T>
impl<T> StructuralPartialEq for DisconnectNetworkOptions<T>
Auto Trait Implementations§
impl<T> Freeze for DisconnectNetworkOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for DisconnectNetworkOptions<T>where
T: RefUnwindSafe,
impl<T> Send for DisconnectNetworkOptions<T>where
T: Send,
impl<T> Sync for DisconnectNetworkOptions<T>where
T: Sync,
impl<T> Unpin for DisconnectNetworkOptions<T>where
T: Unpin,
impl<T> UnwindSafe for DisconnectNetworkOptions<T>where
T: UnwindSafe,
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
)