pub struct ContainerOptions {
pub name: String,
pub volumes: Option<Vec<String>>,
pub security_opts: Option<Vec<String>>,
}
Fields§
§name: String
§volumes: Option<Vec<String>>
§security_opts: Option<Vec<String>>
Trait Implementations§
Source§impl Clone for ContainerOptions
impl Clone for ContainerOptions
Source§fn clone(&self) -> ContainerOptions
fn clone(&self) -> ContainerOptions
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 moreSource§impl Debug for ContainerOptions
impl Debug for ContainerOptions
Source§impl<'de> Deserialize<'de> for ContainerOptions
impl<'de> Deserialize<'de> for ContainerOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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