podman_rest_client/v5/models/
route.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3pub struct Route {
4    /// Destination for this route in CIDR form.
5    pub destination: Option<String>,
6    /// Gateway IP for this route.
7    pub gateway: Option<String>,
8    /// Metric for this route. Optional.
9    pub metric: Option<u32>,
10}