podman_rest_client/v5/models/
inspect_network_settings.rs1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3pub struct InspectNetworkSettings {
8 #[serde(rename = "AdditionalMACAddresses")]
12 pub additional_mac_addresses: Option<Vec<String>>,
13 #[serde(rename = "Bridge")]
14 pub bridge: Option<String>,
15 #[serde(rename = "EndpointID")]
17 pub endpoint_id: Option<String>,
18 #[serde(rename = "Gateway")]
20 pub gateway: Option<String>,
21 #[serde(rename = "GlobalIPv6Address")]
23 pub global_i_pv6_address: Option<String>,
24 #[serde(rename = "GlobalIPv6PrefixLen")]
26 pub global_i_pv6_prefix_len: Option<i64>,
27 #[serde(rename = "HairpinMode")]
28 pub hairpin_mode: Option<bool>,
29 #[serde(rename = "IPAddress")]
31 pub ip_address: Option<String>,
32 #[serde(rename = "IPPrefixLen")]
34 pub ip_prefix_len: Option<i64>,
35 #[serde(rename = "IPv6Gateway")]
37 pub i_pv6_gateway: Option<String>,
38 #[serde(rename = "LinkLocalIPv6Address")]
39 pub link_local_i_pv6_address: Option<String>,
40 #[serde(rename = "LinkLocalIPv6PrefixLen")]
41 pub link_local_i_pv6_prefix_len: Option<i64>,
42 #[serde(rename = "MacAddress")]
44 pub mac_address: Option<String>,
45 #[serde(rename = "Networks")]
49 pub networks:
50 Option<std::collections::HashMap<String, crate::v5::models::InspectAdditionalNetwork>>,
51 #[serde(rename = "Ports")]
52 pub ports:
53 Option<std::collections::HashMap<String, Option<Vec<crate::v5::models::InspectHostPort>>>>,
54 #[serde(rename = "SandboxID")]
55 pub sandbox_id: Option<String>,
56 #[serde(rename = "SandboxKey")]
57 pub sandbox_key: Option<String>,
58 #[serde(rename = "SecondaryIPAddresses")]
61 pub secondary_ip_addresses: Option<Vec<crate::v5::models::Address>>,
62 #[serde(rename = "SecondaryIPv6Addresses")]
65 pub secondary_i_pv6_addresses: Option<Vec<crate::v5::models::Address>>,
66}