podman_rest_client/v5/models/networking_config.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// NetworkingConfig represents the container's networking configuration for each of its interfaces
4/// Carries the networking configs specified in the `docker run` and `docker network connect` commands
5pub struct NetworkingConfig {
6 #[serde(rename = "EndpointsConfig")]
7 pub endpoints_config:
8 Option<std::collections::HashMap<String, crate::v5::models::EndpointSettings>>,
9}