pub struct InspectExecProcess {
pub arguments: Option<Vec<String>>,
pub entrypoint: Option<String>,
pub privileged: Option<bool>,
pub tty: Option<bool>,
pub user: Option<String>,
}
Available on crate feature
v5
only.Expand description
InspectExecProcess contains information about the process in a given exec session.
Fields§
§arguments: Option<Vec<String>>
Arguments are the arguments to the entrypoint command of the exec session.
entrypoint: Option<String>
Entrypoint is the entrypoint for the exec session (the command that will be executed in the container).
privileged: Option<bool>
Privileged is whether the exec session will be started with elevated privileges.
tty: Option<bool>
Tty is whether the exec session created a terminal.
user: Option<String>
User is the user the exec session was started as.
Trait Implementations§
Source§impl Debug for InspectExecProcess
impl Debug for InspectExecProcess
Source§impl Default for InspectExecProcess
impl Default for InspectExecProcess
Source§fn default() -> InspectExecProcess
fn default() -> InspectExecProcess
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InspectExecProcess
impl<'de> Deserialize<'de> for InspectExecProcess
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InspectExecProcess
impl RefUnwindSafe for InspectExecProcess
impl Send for InspectExecProcess
impl Sync for InspectExecProcess
impl Unpin for InspectExecProcess
impl UnwindSafe for InspectExecProcess
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
Mutably borrows from an owned value. Read more