pub struct ContainerOptions {
pub name: Option<String>,
/* private fields */
}
Expand description
Interface for building a new docker container from an existing image
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
pub fn parse_from<'a, K, V>(&self, params: &'a HashMap<K, V>, body: &mut Value)
Trait Implementations§
Source§impl Debug for ContainerOptions
impl Debug for ContainerOptions
Auto Trait Implementations§
impl Freeze for ContainerOptions
impl RefUnwindSafe for ContainerOptions
impl Send for ContainerOptions
impl Sync for ContainerOptions
impl Unpin for ContainerOptions
impl UnwindSafe for ContainerOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more