Struct bollard::network::DisconnectNetworkOptions [−][src]
pub struct DisconnectNetworkOptions<T> where
T: Into<String> + Serialize, {
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
Returns the “default value” for a type. Read more
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more