Struct oci_spec::runtime::SolarisAnet
source · pub struct SolarisAnet { /* private fields */ }
Expand description
SolarisAnet provides the specification for automatic creation of network resources for this container.
Implementations§
source§impl SolarisAnet
impl SolarisAnet
sourcepub fn linkname(&self) -> &Option<String>
pub fn linkname(&self) -> &Option<String>
Specify a name for the automatically created VNIC datalink.
sourcepub fn lower_link(&self) -> &Option<String>
pub fn lower_link(&self) -> &Option<String>
Specify the link over which the VNIC will be created.
sourcepub fn allowed_address(&self) -> &Option<String>
pub fn allowed_address(&self) -> &Option<String>
The set of IP addresses that the container can use.
sourcepub fn configure_allowed_address(&self) -> &Option<String>
pub fn configure_allowed_address(&self) -> &Option<String>
Specifies whether allowedAddress limitation is to be applied to the VNIC.
sourcepub fn link_protection(&self) -> &Option<String>
pub fn link_protection(&self) -> &Option<String>
Enable one or more types of link protection.
sourcepub fn mac_address(&self) -> &Option<String>
pub fn mac_address(&self) -> &Option<String>
Set the VNIC’s macAddress.
source§impl SolarisAnet
impl SolarisAnet
sourcepub fn set_linkname(&mut self, val: Option<String>) -> &mut Self
pub fn set_linkname(&mut self, val: Option<String>) -> &mut Self
Specify a name for the automatically created VNIC datalink.
sourcepub fn set_lower_link(&mut self, val: Option<String>) -> &mut Self
pub fn set_lower_link(&mut self, val: Option<String>) -> &mut Self
Specify the link over which the VNIC will be created.
sourcepub fn set_allowed_address(&mut self, val: Option<String>) -> &mut Self
pub fn set_allowed_address(&mut self, val: Option<String>) -> &mut Self
The set of IP addresses that the container can use.
sourcepub fn set_configure_allowed_address(
&mut self,
val: Option<String>
) -> &mut Self
pub fn set_configure_allowed_address( &mut self, val: Option<String> ) -> &mut Self
Specifies whether allowedAddress limitation is to be applied to the VNIC.
sourcepub fn set_defrouter(&mut self, val: Option<String>) -> &mut Self
pub fn set_defrouter(&mut self, val: Option<String>) -> &mut Self
The value of the optional default router.
sourcepub fn set_link_protection(&mut self, val: Option<String>) -> &mut Self
pub fn set_link_protection(&mut self, val: Option<String>) -> &mut Self
Enable one or more types of link protection.
sourcepub fn set_mac_address(&mut self, val: Option<String>) -> &mut Self
pub fn set_mac_address(&mut self, val: Option<String>) -> &mut Self
Set the VNIC’s macAddress.
Trait Implementations§
source§impl Clone for SolarisAnet
impl Clone for SolarisAnet
source§fn clone(&self) -> SolarisAnet
fn clone(&self) -> SolarisAnet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SolarisAnet
impl Debug for SolarisAnet
source§impl Default for SolarisAnet
impl Default for SolarisAnet
source§fn default() -> SolarisAnet
fn default() -> SolarisAnet
source§impl<'de> Deserialize<'de> for SolarisAnet
impl<'de> Deserialize<'de> for SolarisAnet
source§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>,
source§impl PartialEq for SolarisAnet
impl PartialEq for SolarisAnet
source§fn eq(&self, other: &SolarisAnet) -> bool
fn eq(&self, other: &SolarisAnet) -> bool
self
and other
values to be equal, and is used
by ==
.