podman_client/models/podman/exec/
create.rs

1use serde::Serialize;
2
3pub struct ExecCreateOptions<'a> {
4    pub name: &'a str,
5    pub request: ExecCreateRequest,
6}
7
8#[derive(Serialize)]
9#[serde(rename_all = "PascalCase")]
10pub struct ExecCreateRequest {
11    pub attach_stderr: bool,
12    pub attach_stdin: bool,
13    pub attach_stdout: bool,
14    pub cmd: Vec<String>,
15    pub detach_keys: String,
16    pub env: Vec<String>,
17    pub privileged: bool,
18    pub tty: bool,
19    pub user: String,
20    pub working_dir: String,
21}