Struct nispor::BridgePortInfo [−][src]
pub struct BridgePortInfo {Show 36 fields
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 mrp_ring_open: Option<bool>,
pub mrp_in_open: Option<bool>,
pub mcast_eht_hosts_limit: Option<u32>,
pub mcast_eht_hosts_cnt: Option<u32>,
pub vlans: Option<Vec<BridgeVlanEntry>>,
}
Fields
stp_state: BridgePortStpState
stp_priority: u16
stp_path_cost: u32
hairpin_mode: bool
bpdu_guard: bool
root_block: bool
multicast_fast_leave: bool
learning: bool
unicast_flood: bool
proxyarp: bool
proxyarp_wifi: bool
designated_root: String
designated_bridge: String
designated_port: u16
designated_cost: u16
port_id: String
port_no: String
change_ack: bool
config_pending: bool
message_age_timer: u64
forward_delay_timer: u64
hold_timer: u64
multicast_router: BridgePortMulticastRouterType
multicast_flood: bool
multicast_to_unicast: bool
vlan_tunnel: bool
broadcast_flood: bool
group_fwd_mask: u16
neigh_suppress: bool
isolated: bool
backup_port: String
mrp_ring_open: Option<bool>
mrp_in_open: Option<bool>
mcast_eht_hosts_limit: Option<u32>
mcast_eht_hosts_cnt: Option<u32>
vlans: Option<Vec<BridgeVlanEntry>>
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BridgePortInfo
impl Send for BridgePortInfo
impl Sync for BridgePortInfo
impl Unpin for BridgePortInfo
impl UnwindSafe for BridgePortInfo
Blanket Implementations
Mutably borrows from an owned value. Read more