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 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 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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InspectExecProcess
impl Debug for InspectExecProcess
Source§impl<'de> Deserialize<'de> for InspectExecProcess
impl<'de> Deserialize<'de> for InspectExecProcess
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectExecProcess, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectExecProcess, <__D as Deserializer<'de>>::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
Source§fn 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 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