Struct podman_api_stubs::models::NetworkCreateOptions [−][src]
pub struct NetworkCreateOptions {
pub disable_dns: Option<bool>,
pub driver: Option<String>,
pub gateway: Option<Ip>,
pub i_pv6: Option<bool>,
pub internal: Option<bool>,
pub labels: Option<HashMap<String, String>>,
pub mac_vlan: Option<String>,
pub options: Option<HashMap<String, String>>,
pub range: Option<IpNet>,
pub subnet: Option<IpNet>,
}
Expand description
NetworkCreateOptions describes options to create a network
Fields
disable_dns: Option<bool>
driver: Option<String>
gateway: Option<Ip>
i_pv6: Option<bool>
internal: Option<bool>
labels: Option<HashMap<String, String>>
mac_vlan: Option<String>
options: Option<HashMap<String, String>>
range: Option<IpNet>
subnet: Option<IpNet>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for NetworkCreateOptions
impl Send for NetworkCreateOptions
impl Sync for NetworkCreateOptions
impl Unpin for NetworkCreateOptions
impl UnwindSafe for NetworkCreateOptions
Blanket Implementations
Mutably borrows from an owned value. Read more