podman_rest_client/v5/models/network_connect.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// NetworkConnect represents the data to be used to connect a container to the network
4pub struct NetworkConnect {
5 #[serde(rename = "Container")]
6 pub container: Option<String>,
7 #[serde(rename = "EndpointConfig")]
8 pub endpoint_config: Option<crate::v5::models::EndpointSettings>,
9}