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
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
pub struct Route {
    /// Destination for this route in CIDR form.
    pub destination: Option<String>,
    /// Gateway IP for this route.
    pub gateway: Option<String>,
    /// Metric for this route. Optional.
    pub metric: Option<u32>,
}