pub struct ContainerConfig {Show 17 fields
pub hostname: Option<String>,
pub domainname: Option<String>,
pub user: Option<String>,
pub attach_stdin: Option<bool>,
pub attach_stdout: Option<bool>,
pub attach_stderr: Option<bool>,
pub tty: Option<bool>,
pub open_stdin: Option<bool>,
pub stdin_once: Option<bool>,
pub env: Option<Vec<String>>,
pub cmd: Option<Vec<String>>,
pub image: Option<String>,
pub volumes: Option<BTreeMap<String, String>>,
pub working_dir: Option<String>,
pub entrypoint: Option<Vec<String>>,
pub on_build: Option<Vec<String>>,
pub labels: Option<BTreeMap<String, String>>,
}Fields§
§hostname: Option<String>§domainname: Option<String>§user: Option<String>§attach_stdin: Option<bool>§attach_stdout: Option<bool>§attach_stderr: Option<bool>§tty: Option<bool>§open_stdin: Option<bool>§stdin_once: Option<bool>§env: Option<Vec<String>>§cmd: Option<Vec<String>>§image: Option<String>§volumes: Option<BTreeMap<String, String>>§working_dir: Option<String>§entrypoint: Option<Vec<String>>§on_build: Option<Vec<String>>§labels: Option<BTreeMap<String, String>>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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more