pub struct InspectExecProcess {
pub arguments: Option<Vec<String>>,
pub entrypoint: Option<String>,
pub privileged: Option<bool>,
pub tty: Option<bool>,
pub user: Option<String>,
}
Expand description
InspectExecProcess : 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.
Implementations§
Source§impl InspectExecProcess
impl InspectExecProcess
Sourcepub fn new() -> InspectExecProcess
pub fn new() -> InspectExecProcess
InspectExecProcess contains information about the process in a given exec session.
Trait Implementations§
Source§impl Clone for InspectExecProcess
impl Clone for InspectExecProcess
Source§fn clone(&self) -> InspectExecProcess
fn clone(&self) -> InspectExecProcess
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
Source§impl PartialEq for InspectExecProcess
impl PartialEq for InspectExecProcess
Source§impl Serialize for InspectExecProcess
impl Serialize for InspectExecProcess
impl StructuralPartialEq for InspectExecProcess
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