Struct docker_api::opts::ContainerDisconnectionOpts
source · 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) -> ContainerDisconnectionOptsBuilderwhere
I: AsRef<str>,
pub fn builder<I>(container_id: I) -> ContainerDisconnectionOptsBuilderwhere I: AsRef<str>,
Return a new instance of a builder for disconnecting a container from a network.