Struct docker_api::api::container::models::ContainerConfig
source · [−]pub struct ContainerConfig {Show 25 fields
pub hostname: String,
pub domainname: String,
pub user: String,
pub attach_stdin: bool,
pub attach_stdout: bool,
pub attach_stderr: bool,
pub exposed_ports: Vec<PublishPort>,
pub tty: bool,
pub open_stdin: bool,
pub stdin_once: bool,
pub env: Vec<String>,
pub cmd: Option<Vec<String>>,
pub healthcheck: Option<HealthConfig>,
pub args_escaped: Option<bool>,
pub image: String,
pub volumes: Option<VolumesMap>,
pub working_dir: String,
pub entrypoint: Option<Vec<String>>,
pub network_disabled: Option<bool>,
pub mac_address: Option<String>,
pub on_build: Option<Vec<String>>,
pub labels: Option<Labels>,
pub stop_signal: Option<String>,
pub stop_timeout: Option<isize>,
pub shell: Option<Vec<String>>,
}
Fields
hostname: String
domainname: String
user: String
attach_stdin: bool
attach_stdout: bool
attach_stderr: bool
exposed_ports: Vec<PublishPort>
tty: bool
open_stdin: bool
stdin_once: bool
env: Vec<String>
cmd: Option<Vec<String>>
healthcheck: Option<HealthConfig>
args_escaped: Option<bool>
image: String
volumes: Option<VolumesMap>
working_dir: String
entrypoint: Option<Vec<String>>
network_disabled: Option<bool>
mac_address: Option<String>
on_build: Option<Vec<String>>
labels: Option<Labels>
stop_signal: Option<String>
stop_timeout: Option<isize>
shell: Option<Vec<String>>
Implementations
Trait Implementations
sourceimpl Clone for ContainerConfig
impl Clone for ContainerConfig
sourcefn clone(&self) -> ContainerConfig
fn clone(&self) -> ContainerConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContainerConfig
impl Debug for ContainerConfig
sourceimpl<'de> Deserialize<'de> for ContainerConfig
impl<'de> Deserialize<'de> for ContainerConfig
sourcefn 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
sourceimpl Serialize for ContainerConfig
impl Serialize for ContainerConfig
Auto Trait Implementations
impl RefUnwindSafe for ContainerConfig
impl Send for ContainerConfig
impl Sync for ContainerConfig
impl Unpin for ContainerConfig
impl UnwindSafe for ContainerConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more