Struct podman_api::models::InspectExecSession
source · [−]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 “
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
sourceimpl Clone for InspectExecSession
impl Clone for InspectExecSession
sourcefn clone(&self) -> InspectExecSession
fn clone(&self) -> InspectExecSession
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InspectExecSession
impl Debug for InspectExecSession
sourceimpl<'de> Deserialize<'de> for InspectExecSession
impl<'de> Deserialize<'de> for InspectExecSession
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<InspectExecSession, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<InspectExecSession, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<InspectExecSession> for InspectExecSession
impl PartialEq<InspectExecSession> for InspectExecSession
sourcefn eq(&self, other: &InspectExecSession) -> bool
fn eq(&self, other: &InspectExecSession) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for InspectExecSession
impl Serialize for InspectExecSession
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InspectExecSession
Auto Trait Implementations
impl RefUnwindSafe for InspectExecSession
impl Send for InspectExecSession
impl Sync for InspectExecSession
impl Unpin for InspectExecSession
impl UnwindSafe for InspectExecSession
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more