podman-client 0.0.2

A native Rust client for the Podman REST API over Unix sockets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Serialize;

pub struct ExecStartOptions<'a> {
    pub id: &'a str,
    pub request: ExecStartRequest,
}

#[derive(Serialize)]
pub struct ExecStartRequest {
    #[serde(rename = "Detach")]
    pub detach: bool,
    pub h: i64,
    #[serde(rename = "Tty")]
    pub tty: bool,
    pub w: i64,
}