[][src]Struct bollard_stubs::models::ExecConfig

pub struct ExecConfig {
    pub attach_stdin: Option<bool>,
    pub attach_stdout: Option<bool>,
    pub attach_stderr: Option<bool>,
    pub detach_keys: Option<String>,
    pub tty: Option<bool>,
    pub env: Option<Vec<String>>,
    pub cmd: Option<Vec<String>>,
    pub privileged: Option<bool>,
    pub user: Option<String>,
    pub working_dir: Option<String>,
}

Fields

attach_stdin: Option<bool>

Attach to stdin of the exec command.

attach_stdout: Option<bool>

Attach to stdout of the exec command.

attach_stderr: Option<bool>

Attach to stderr of the exec command.

detach_keys: Option<String>

Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _.

tty: Option<bool>

Allocate a pseudo-TTY.

env: Option<Vec<String>>

A list of environment variables in the form [\"VAR=value\", ...].

cmd: Option<Vec<String>>

Command to run, as a string or array of strings.

privileged: Option<bool>

Runs the exec process with extended privileges.

user: Option<String>

The user, and optionally, group to run the exec process inside the container. Format is one of: user, user:group, uid, or uid:gid.

working_dir: Option<String>

The working directory for the exec process inside the container.

Trait Implementations

impl Clone for ExecConfig[src]

impl Debug for ExecConfig[src]

impl Default for ExecConfig[src]

impl<'de> Deserialize<'de> for ExecConfig[src]

impl PartialEq<ExecConfig> for ExecConfig[src]

impl Serialize for ExecConfig[src]

impl StructuralPartialEq for ExecConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.