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
17
18
use crate::{
    client::Client,
    models::{
        lib::Error,
        podman::containers::systemd_units_generate::{
            ContainerSystemdUnitsGenerate, ContainerSystemdUnitsGenerateOptions,
        },
    },
};

impl Client {
    pub async fn container_systemd_units_generate(
        &self,
        options: ContainerSystemdUnitsGenerateOptions<'_>,
    ) -> Result<ContainerSystemdUnitsGenerate, Error> {
        self.pod_systemd_units_generate(options).await
    }
}