Struct docker_sdk::network::ContainerConnectionOptions
source · pub struct ContainerConnectionOptions { /* private fields */ }
Expand description
Interface for connect container to network
Implementations
sourceimpl ContainerConnectionOptions
impl ContainerConnectionOptions
sourcepub fn serialize(&self) -> Result<String>
pub fn serialize(&self) -> Result<String>
serialize options as a string. returns None if no options are defined
pub fn parse_from<'a, K, V>(
&self,
params: &'a HashMap<K, V>,
body: &mut BTreeMap<String, Value>
)where
&'a HashMap<K, V>: IntoIterator,
K: ToString + Eq + Hash,
V: Serialize,
sourcepub fn builder(container_id: &str) -> ContainerConnectionOptionsBuilder
pub fn builder(container_id: &str) -> ContainerConnectionOptionsBuilder
return a new instance of a builder for options
Trait Implementations
sourceimpl Debug for ContainerConnectionOptions
impl Debug for ContainerConnectionOptions
Auto Trait Implementations
impl RefUnwindSafe for ContainerConnectionOptions
impl Send for ContainerConnectionOptions
impl Sync for ContainerConnectionOptions
impl Unpin for ContainerConnectionOptions
impl UnwindSafe for ContainerConnectionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more