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§impl Serialize for SolarisAnet
impl Serialize for SolarisAnet
impl Eq for SolarisAnet
impl StructuralPartialEq for SolarisAnet
Auto Trait Implementations§
impl Freeze for SolarisAnet
impl RefUnwindSafe for SolarisAnet
impl Send for SolarisAnet
impl Sync for SolarisAnet
impl Unpin for SolarisAnet
impl UnwindSafe for SolarisAnet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)