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: 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: Stringmrp_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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.