pub struct ContainerConfig {Show 17 fields
pub attach_stderr: bool,
pub attach_stdin: bool,
pub attach_stdout: bool,
pub cmd: Option<Vec<String>>,
pub domainname: String,
pub entrypoint: Option<Vec<String>>,
pub env: Option<Vec<String>>,
pub exposed_ports: Option<HashMap<String, HashMap<String, String>>>,
pub hostname: String,
pub image: String,
pub labels: Option<HashMap<String, String>>,
pub on_build: Option<Vec<String>>,
pub open_stdin: bool,
pub stdin_once: bool,
pub tty: bool,
pub user: String,
pub working_dir: String,
}
Fields§
§attach_stderr: bool
§attach_stdin: bool
§attach_stdout: bool
§cmd: Option<Vec<String>>
§domainname: String
§entrypoint: Option<Vec<String>>
§env: Option<Vec<String>>
§exposed_ports: Option<HashMap<String, HashMap<String, String>>>
§hostname: String
§image: String
§labels: Option<HashMap<String, String>>
§on_build: Option<Vec<String>>
§open_stdin: bool
§stdin_once: bool
§tty: bool
§user: String
§working_dir: String
Implementations§
Trait Implementations§
Source§impl Clone for ContainerConfig
impl Clone for ContainerConfig
Source§fn clone(&self) -> ContainerConfig
fn clone(&self) -> ContainerConfig
Returns a duplicate 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 ContainerConfig
impl Debug for ContainerConfig
Source§impl<'de> Deserialize<'de> for ContainerConfig
impl<'de> Deserialize<'de> for ContainerConfig
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 ContainerConfig
impl RefUnwindSafe for ContainerConfig
impl Send for ContainerConfig
impl Sync for ContainerConfig
impl Unpin for ContainerConfig
impl UnwindSafe for ContainerConfig
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