pub struct VlanUpdate {
pub vlan_enable: Option<Boolean>,
pub vlanid: Option<Vlanid>,
pub vlan_priority: Option<VlanPriority>,
pub tagged: Option<Boolean>,
}Expand description
Update struct corresponding to Vlan
Fields§
§vlan_enable: Option<Boolean>§vlanid: Option<Vlanid>§vlan_priority: Option<VlanPriority>§tagged: Option<Boolean>Implementations§
Source§impl VlanUpdate
impl VlanUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_vlan_enable(self, v: Boolean) -> Self
pub fn with_vlanid(self, v: Vlanid) -> Self
pub fn with_vlan_priority(self, v: VlanPriority) -> Self
pub fn with_tagged(self, v: Boolean) -> Self
Trait Implementations§
Source§impl Debug for VlanUpdate
impl Debug for VlanUpdate
Source§impl Default for VlanUpdate
impl Default for VlanUpdate
Source§fn default() -> VlanUpdate
fn default() -> VlanUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VlanUpdate
impl RefUnwindSafe for VlanUpdate
impl Send for VlanUpdate
impl Sync for VlanUpdate
impl Unpin for VlanUpdate
impl UnsafeUnpin for VlanUpdate
impl UnwindSafe for VlanUpdate
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