[][src]Struct nispor::BridgePortInfo

pub struct BridgePortInfo {
    pub stp_state: BridgePortStpState,
    pub stp_priority: u16,
    pub stp_path_cost: u32,
    pub hairpin_mode: bool,
    pub bpdu_guard: bool,
    pub root_block: bool,
    pub multicast_fast_leave: bool,
    pub learning: bool,
    pub unicast_flood: bool,
    pub proxyarp: bool,
    pub proxyarp_wifi: bool,
    pub designated_root: String,
    pub designated_bridge: String,
    pub designated_port: u16,
    pub designated_cost: u16,
    pub port_id: String,
    pub port_no: String,
    pub change_ack: bool,
    pub config_pending: bool,
    pub message_age_timer: u64,
    pub forward_delay_timer: u64,
    pub hold_timer: u64,
    pub multicast_router: BridgePortMulticastRouterType,
    pub multicast_flood: bool,
    pub multicast_to_unicast: bool,
    pub vlan_tunnel: bool,
    pub broadcast_flood: bool,
    pub group_fwd_mask: u16,
    pub neigh_suppress: bool,
    pub isolated: bool,
    pub backup_port: String,
    pub vlans: Option<Vec<BridgeVlanEntry>>,
}

Fields

stp_state: BridgePortStpStatestp_priority: u16stp_path_cost: u32hairpin_mode: boolbpdu_guard: boolroot_block: boolmulticast_fast_leave: boollearning: boolunicast_flood: boolproxyarp: boolproxyarp_wifi: booldesignated_root: Stringdesignated_bridge: Stringdesignated_port: u16designated_cost: u16port_id: Stringport_no: Stringchange_ack: boolconfig_pending: boolmessage_age_timer: u64forward_delay_timer: u64hold_timer: u64multicast_router: BridgePortMulticastRouterTypemulticast_flood: boolmulticast_to_unicast: boolvlan_tunnel: boolbroadcast_flood: boolgroup_fwd_mask: u16neigh_suppress: boolisolated: boolbackup_port: Stringvlans: Option<Vec<BridgeVlanEntry>>

Trait Implementations

impl Clone for BridgePortInfo[src]

impl Debug for BridgePortInfo[src]

impl Default for BridgePortInfo[src]

impl<'de> Deserialize<'de> for BridgePortInfo[src]

impl PartialEq<BridgePortInfo> for BridgePortInfo[src]

impl Serialize for BridgePortInfo[src]

impl StructuralPartialEq for BridgePortInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.