Struct podman_api::models::NetOptions [−][src]
pub struct NetOptions {Show 13 fields
pub cni_networks: Option<Vec<String, Global>>,
pub dns_option: Option<Vec<String, Global>>,
pub dns_search: Option<Vec<String, Global>>,
pub dns_server: Option<Vec<Vec<i32, Global>, Global>>,
pub hostadd: Option<Vec<String, Global>>,
pub netns: Option<Namespace>,
pub network_alias: Option<Vec<String, Global>>,
pub network_options: Option<HashMap<String, Vec<String, Global>, RandomState>>,
pub no_manage_hosts: Option<bool>,
pub no_manage_resolv_conf: Option<bool>,
pub portmappings: Option<Vec<PortMapping, Global>>,
pub static_ip: Option<Vec<i32, Global>>,
pub static_mac: Option<Vec<i32, Global>>,
}
Fields
cni_networks: Option<Vec<String, Global>>
dns_option: Option<Vec<String, Global>>
dns_search: Option<Vec<String, Global>>
dns_server: Option<Vec<Vec<i32, Global>, Global>>
hostadd: Option<Vec<String, Global>>
netns: Option<Namespace>
network_alias: Option<Vec<String, Global>>
network_options: Option<HashMap<String, Vec<String, Global>, RandomState>>
NetworkOptions are additional options for each network
no_manage_hosts: Option<bool>
no_manage_resolv_conf: Option<bool>
portmappings: Option<Vec<PortMapping, Global>>
static_ip: Option<Vec<i32, Global>>
static_mac: Option<Vec<i32, Global>>
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<NetOptions, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<NetOptions, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NetOptions
impl Send for NetOptions
impl Sync for NetOptions
impl Unpin for NetOptions
impl UnwindSafe for NetOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more