pub struct GlobalStp {
pub mode: StpMode,
pub loopguard: bool,
pub portfast_default: bool,
pub bpduguard_default: bool,
pub vlan_priorities: Vec<StpVlanPriority>,
}Fields§
§mode: StpMode§loopguard: bool§portfast_default: bool§bpduguard_default: bool§vlan_priorities: Vec<StpVlanPriority>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GlobalStp
impl<'de> Deserialize<'de> for GlobalStp
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GlobalStp
impl RefUnwindSafe for GlobalStp
impl Send for GlobalStp
impl Sync for GlobalStp
impl Unpin for GlobalStp
impl UnsafeUnpin for GlobalStp
impl UnwindSafe for GlobalStp
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