Struct podman_api::models::CreateContainerConfig
source · [−]pub struct CreateContainerConfig {Show 28 fields
pub args_escaped: Option<bool>,
pub attach_stderr: Option<bool>,
pub attach_stdin: Option<bool>,
pub attach_stdout: Option<bool>,
pub cmd: Option<Vec<String, Global>>,
pub domainname: Option<String>,
pub entrypoint: Option<Vec<String, Global>>,
pub env: Option<Vec<String, Global>>,
pub exposed_ports: Option<HashMap<String, String, RandomState>>,
pub healthcheck: Option<HealthConfig>,
pub host_config: Option<HostConfig>,
pub hostname: Option<String>,
pub image: Option<String>,
pub labels: Option<HashMap<String, String, RandomState>>,
pub mac_address: Option<String>,
pub name: Option<String>,
pub network_disabled: Option<bool>,
pub networking_config: Option<NetworkingConfig>,
pub on_build: Option<Vec<String, Global>>,
pub open_stdin: Option<bool>,
pub shell: Option<Vec<String, Global>>,
pub stdin_once: Option<bool>,
pub stop_signal: Option<String>,
pub stop_timeout: Option<i64>,
pub tty: Option<bool>,
pub user: Option<String>,
pub volumes: Option<HashMap<String, Value, RandomState>>,
pub working_dir: Option<String>,
}
Expand description
CreateContainerConfig used when compatible endpoint creates a container
Fields
args_escaped: Option<bool>
attach_stderr: Option<bool>
attach_stdin: Option<bool>
attach_stdout: Option<bool>
cmd: Option<Vec<String, Global>>
domainname: Option<String>
entrypoint: Option<Vec<String, Global>>
env: Option<Vec<String, Global>>
exposed_ports: Option<HashMap<String, String, RandomState>>
healthcheck: Option<HealthConfig>
host_config: Option<HostConfig>
hostname: Option<String>
image: Option<String>
labels: Option<HashMap<String, String, RandomState>>
mac_address: Option<String>
name: Option<String>
network_disabled: Option<bool>
networking_config: Option<NetworkingConfig>
on_build: Option<Vec<String, Global>>
open_stdin: Option<bool>
shell: Option<Vec<String, Global>>
stdin_once: Option<bool>
stop_signal: Option<String>
stop_timeout: Option<i64>
tty: Option<bool>
user: Option<String>
volumes: Option<HashMap<String, Value, RandomState>>
working_dir: Option<String>
Trait Implementations
sourceimpl Clone for CreateContainerConfig
impl Clone for CreateContainerConfig
sourcefn clone(&self) -> CreateContainerConfig
fn clone(&self) -> CreateContainerConfig
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 CreateContainerConfig
impl Debug for CreateContainerConfig
sourceimpl<'de> Deserialize<'de> for CreateContainerConfig
impl<'de> Deserialize<'de> for CreateContainerConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CreateContainerConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CreateContainerConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CreateContainerConfig> for CreateContainerConfig
impl PartialEq<CreateContainerConfig> for CreateContainerConfig
sourcefn eq(&self, other: &CreateContainerConfig) -> bool
fn eq(&self, other: &CreateContainerConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateContainerConfig) -> bool
fn ne(&self, other: &CreateContainerConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateContainerConfig
impl Serialize for CreateContainerConfig
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CreateContainerConfig
Auto Trait Implementations
impl RefUnwindSafe for CreateContainerConfig
impl Send for CreateContainerConfig
impl Sync for CreateContainerConfig
impl Unpin for CreateContainerConfig
impl UnwindSafe for CreateContainerConfig
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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