pub struct ContainerConfig {Show 15 fields
pub Image: String,
pub Cmd: Vec<String>,
pub Hostname: String,
pub Domainname: String,
pub User: String,
pub AttachStdin: bool,
pub AttachStdout: bool,
pub AttachStderr: bool,
pub Tty: bool,
pub OpenStdin: bool,
pub StdinOnce: bool,
pub Env: Vec<String>,
pub Entrypoint: Option<String>,
pub Labels: Option<HashMap<String, String>>,
pub WorkingDir: String,
}
Expand description
Structure for implementing Container Config Derives Default fot being able to get started even with minimal config.
Fields§
§Image: String
§Cmd: Vec<String>
§Hostname: String
§Domainname: String
§User: String
§AttachStdin: bool
§AttachStdout: bool
§AttachStderr: bool
§Tty: bool
§OpenStdin: bool
§StdinOnce: bool
§Env: Vec<String>
§Entrypoint: Option<String>
§Labels: Option<HashMap<String, String>>
§WorkingDir: String
Trait Implementations§
Source§impl Debug for ContainerConfig
impl Debug for ContainerConfig
Source§impl Default for ContainerConfig
impl Default for ContainerConfig
Source§fn default() -> ContainerConfig
fn default() -> ContainerConfig
Returns the “default value” for a type. Read more
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