Struct bollard::container::CreateContainerOptions
source · Expand description
Parameters used in the Create Container API
Examples
use bollard::container::CreateContainerOptions;
CreateContainerOptions{
name: "my-new-container",
};
Fields§
§name: T
Assign the specified name to the container.
Trait Implementations§
source§impl<T: Clone> Clone for CreateContainerOptions<T>where
T: AsRef<str>,
impl<T: Clone> Clone for CreateContainerOptions<T>where
T: AsRef<str>,
source§fn clone(&self) -> CreateContainerOptions<T>
fn clone(&self) -> CreateContainerOptions<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more