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
use std::collections::HashMap;

pub struct SendRequestOptions<'a, RequestBody> {
    pub method: &'a str,
    pub path: &'a str,
    pub header: Option<HashMap<&'a str, &'a str>>,
    pub body: RequestBody,
}