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
use serde::Serialize;

pub struct NetworkDisconnectOptions<'a> {
    pub name: &'a str,
    pub request: NetworkDisconnectRequest,
}

#[derive(Serialize)]
#[serde(rename_all = "PascalCase")]
pub struct NetworkDisconnectRequest {
    pub container: String,
    pub force: bool,
}