Struct shiplift::builder::ContainerConnectionOptions
source · pub struct ContainerConnectionOptions { /* private fields */ }
Expand description
Interface for connect container to network
Implementations§
source§impl 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