Struct oci_spec::runtime::SolarisAnet [−][src]
pub struct SolarisAnet {
pub linkname: Option<String>,
pub lower_link: Option<String>,
pub allowed_address: Option<String>,
pub configure_allowed_address: Option<String>,
pub defrouter: Option<String>,
pub link_protection: Option<String>,
pub mac_address: Option<String>,
}
Expand description
SolarisAnet provides the specification for automatic creation of network resources for this container.
Fields
linkname: Option<String>
Specify a name for the automatically created VNIC datalink.
lower_link: Option<String>
Specify the link over which the VNIC will be created.
allowed_address: Option<String>
The set of IP addresses that the container can use.
configure_allowed_address: Option<String>
Specifies whether allowedAddress limitation is to be applied to the VNIC.
defrouter: Option<String>
The value of the optional default router.
link_protection: Option<String>
Enable one or more types of link protection.
mac_address: Option<String>
Set the VNIC’s macAddress.
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 SolarisAnet
impl Send for SolarisAnet
impl Sync for SolarisAnet
impl Unpin for SolarisAnet
impl UnwindSafe for SolarisAnet
Blanket Implementations
Mutably borrows from an owned value. Read more