pub struct VMwareUplinkLacpPolicy {
pub inherited: bool,
pub enable: Option<BoolPolicy>,
pub mode: Option<StringPolicy>,
}
Expand description
Deprecated as of vSphere API 5.5.
This class defines VMware specific Link Aggregation Control Protocol policy.
Fields§
§inherited: bool
Whether the configuration is set to inherited value.
enable: Option<BoolPolicy>
The flag to indicate whether or not Link Aggregation Control Protocol is enabled.
It can be set to true if the value of VMwareDVSConfigInfo.lacpApiVersion is singleLag, else an exception ConflictingConfiguration will be thrown.
mode: Option<StringPolicy>
The mode of Link Aggregation Control Protocol.
See VMwareUplinkLacpMode_enum for valid values.
Trait Implementations§
Source§impl Debug for VMwareUplinkLacpPolicy
impl Debug for VMwareUplinkLacpPolicy
Source§impl<'de> Deserialize<'de> for VMwareUplinkLacpPolicy
impl<'de> Deserialize<'de> for VMwareUplinkLacpPolicy
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl InheritablePolicyTrait for VMwareUplinkLacpPolicy
impl InheritablePolicyTrait for VMwareUplinkLacpPolicy
Source§fn get_inherited(&self) -> bool
fn get_inherited(&self) -> bool
Whether the configuration is set to inherited value.
Source§impl Serialize for VMwareUplinkLacpPolicy
impl Serialize for VMwareUplinkLacpPolicy
Source§impl VimObjectTrait for VMwareUplinkLacpPolicy
impl VimObjectTrait for VMwareUplinkLacpPolicy
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for VMwareUplinkLacpPolicy
Auto Trait Implementations§
impl Freeze for VMwareUplinkLacpPolicy
impl RefUnwindSafe for VMwareUplinkLacpPolicy
impl Send for VMwareUplinkLacpPolicy
impl Sync for VMwareUplinkLacpPolicy
impl Unpin for VMwareUplinkLacpPolicy
impl UnwindSafe for VMwareUplinkLacpPolicy
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
Mutably borrows from an owned value. Read more