Struct docker_api::api::exec::ExecContainerOptsBuilder[][src]

pub struct ExecContainerOptsBuilder { /* fields omitted */ }
Expand description

A builder struct for ExecContainerOpts.

Implementations

Finish building ExecContainerOpts.

Command to run, as an array of strings.

A list of environment variables in the form ‘VAR=value’.

Attach to stdout of the exec command.

Attach to stderr of the exec command.

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

Allocate a pseudo-TTY.

Runs the exec process with extended privileges. (Default: false)

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

The working directory for the exec process inside the container.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more