pub struct InspectExecSession {
    pub can_remove: Option<bool>,
    pub container_id: Option<String>,
    pub detach_keys: Option<String>,
    pub exit_code: Option<i64>,
    pub id: Option<String>,
    pub open_stderr: Option<bool>,
    pub open_stdin: Option<bool>,
    pub open_stdout: Option<bool>,
    pub pid: Option<i64>,
    pub process_config: Option<InspectExecProcess>,
    pub running: Option<bool>,
}

Fields

can_remove: Option<bool>

CanRemove is legacy and used purely for compatibility reasons. Will always be set to true, unless the exec session is running.

container_id: Option<String>

ContainerID is the ID of the container this exec session is attached to.

detach_keys: Option<String>

DetachKeys are the detach keys used by the exec session. If set to “” the default keys are being used. Will show “” if no detach keys are set.

exit_code: Option<i64>

ExitCode is the exit code of the exec session. Will be set to 0 if the exec session has not yet exited.

id: Option<String>

ID is the ID of the exec session.

open_stderr: Option<bool>

OpenStderr is whether the container’s STDERR stream will be attached. Always set to true if the exec session created a TTY.

open_stdin: Option<bool>

OpenStdin is whether the container’s STDIN stream will be attached to.

open_stdout: Option<bool>

OpenStdout is whether the container’s STDOUT stream will be attached. Always set to true if the exec session created a TTY.

pid: Option<i64>

Pid is the PID of the exec session’s process. Will be set to 0 if the exec session is not running.

process_config: Option<InspectExecProcess>running: Option<bool>

Running is whether the exec session is running.

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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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.

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

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

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.

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