Struct oci_spec::runtime::WindowsNetwork [−][src]
pub struct WindowsNetwork {
pub endpoint_list: Option<Vec<String>>,
pub allow_unqualified_dns_query: Option<bool>,
pub dns_search_list: Option<Vec<String>>,
pub network_shared_container_name: Option<String>,
pub network_namespace: Option<String>,
}
Expand description
WindowsNetwork contains network settings for Windows containers.
Fields
endpoint_list: Option<Vec<String>>
List of HNS endpoints that the container should connect to.
allow_unqualified_dns_query: Option<bool>
Specifies if unqualified DNS name resolution is allowed.
dns_search_list: Option<Vec<String>>
Comma separated list of DNS suffixes to use for name resolution.
Name (ID) of the container that we will share with the network stack.
network_namespace: Option<String>
name (ID) of the network namespace that will be used for the container.
Trait Implementations
Returns the “default value” for a type. Read more
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 WindowsNetwork
impl Send for WindowsNetwork
impl Sync for WindowsNetwork
impl Unpin for WindowsNetwork
impl UnwindSafe for WindowsNetwork
Blanket Implementations
Mutably borrows from an owned value. Read more