podman-rest-client 0.13.0

Interface for querying the podman REST API. Supports connections over SSH.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// ServiceInfo represents service parameters with the list of service's tasks
pub struct ServiceInfo {
    #[serde(rename = "LocalLBIndex")]
    pub local_lb_index: Option<i64>,
    #[serde(rename = "Ports")]
    pub ports: Option<Vec<String>>,
    #[serde(rename = "Tasks")]
    pub tasks: Option<Vec<crate::v5::models::Task>>,
    #[serde(rename = "VIP")]
    pub vip: Option<String>,
}