podman_rest_client/v5/models/inspect_exec_process.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectExecProcess contains information about the process in a given exec
4/// session.
5pub struct InspectExecProcess {
6 /// Arguments are the arguments to the entrypoint command of the exec
7 /// session.
8 pub arguments: Option<Vec<String>>,
9 /// Entrypoint is the entrypoint for the exec session (the command that
10 /// will be executed in the container).
11 pub entrypoint: Option<String>,
12 /// Privileged is whether the exec session will be started with elevated
13 /// privileges.
14 pub privileged: Option<bool>,
15 /// Tty is whether the exec session created a terminal.
16 pub tty: Option<bool>,
17 /// User is the user the exec session was started as.
18 pub user: Option<String>,
19}