pub type ContainerOptions = ContainerOptions;
👎Deprecated since 0.8.0: Please use
docker_sdk::container::ContainerOptions
. This will be removed in 0.9.0.Aliased Type§
pub struct ContainerOptions {
pub name: Option<String>,
/* private fields */
}
Fields§
§name: Option<String>
Implementations
Source§impl ContainerOptions
impl ContainerOptions
Sourcepub fn builder(name: &str) -> ContainerOptionsBuilder
pub fn builder(name: &str) -> ContainerOptionsBuilder
return a new instance of a builder for options
Sourcepub fn serialize(&self) -> Result<String>
pub fn serialize(&self) -> Result<String>
serialize options as a string. returns None if no options are defined