pub struct ContainerDisconnectionOpts { /* private fields */ }
Expand description
Interface for disconnecting a container from a network.
Implementations§
Source§impl ContainerDisconnectionOpts
impl ContainerDisconnectionOpts
Sourcepub fn serialize_vec(&self) -> Result<Vec<u8>>
pub fn serialize_vec(&self) -> Result<Vec<u8>>
Serializes the options as a JSON bytes.
Sourcepub fn builder<I>(container_id: I) -> ContainerDisconnectionOptsBuilder
pub fn builder<I>(container_id: I) -> ContainerDisconnectionOptsBuilder
Return a new instance of a builder for disconnecting a container from a network.
Trait Implementations§
Source§impl Debug for ContainerDisconnectionOpts
impl Debug for ContainerDisconnectionOpts
Auto Trait Implementations§
impl Freeze for ContainerDisconnectionOpts
impl RefUnwindSafe for ContainerDisconnectionOpts
impl Send for ContainerDisconnectionOpts
impl Sync for ContainerDisconnectionOpts
impl Unpin for ContainerDisconnectionOpts
impl UnwindSafe for ContainerDisconnectionOpts
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