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<Box<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 "
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<Box<InspectExecProcess>>
§running: Option<bool>
Running is whether the exec session is running.
Implementations§
source§impl InspectExecSession
impl InspectExecSession
pub fn new() -> InspectExecSession
Trait Implementations§
source§impl Clone for InspectExecSession
impl Clone for InspectExecSession
source§fn clone(&self) -> InspectExecSession
fn clone(&self) -> InspectExecSession
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InspectExecSession
impl Debug for InspectExecSession
source§impl Default for InspectExecSession
impl Default for InspectExecSession
source§fn default() -> InspectExecSession
fn default() -> InspectExecSession
source§impl<'de> Deserialize<'de> for InspectExecSession
impl<'de> Deserialize<'de> for InspectExecSession
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for InspectExecSession
impl PartialEq for InspectExecSession
source§fn eq(&self, other: &InspectExecSession) -> bool
fn eq(&self, other: &InspectExecSession) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InspectExecSession
impl Serialize for InspectExecSession
impl StructuralPartialEq for InspectExecSession
Auto Trait Implementations§
impl Freeze for InspectExecSession
impl RefUnwindSafe for InspectExecSession
impl Send for InspectExecSession
impl Sync for InspectExecSession
impl Unpin for InspectExecSession
impl UnwindSafe for InspectExecSession
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)