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

Fields

attach_stderr: Option<bool>

Attach to stderr of the exec command

attach_stdin: Option<bool>

Attach to stdin of the exec command

attach_stdout: Option<bool>

Attach to stdout of the exec command

cmd: Option<Vec<String>>

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

detach_keys: Option<String>

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

env: Option<Vec<String>>

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

privileged: Option<bool>

Runs the exec process with extended privileges

tty: Option<bool>

Allocate a pseudo-TTY

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.