pub struct InterfaceOspf {
pub process_id: u32,
pub area: OspfArea,
pub cost: Option<u32>,
pub priority: Option<u8>,
pub timers: Option<OspfIfTimers>,
pub auth: Option<OspfAuth>,
pub passive: bool,
pub network_type: Option<OspfNetworkType>,
}Expand description
Per-interface OSPF parameters (ip ospf …).
Fields§
§process_id: u32§area: OspfArea§cost: Option<u32>ip ospf cost <n>
priority: Option<u8>ip ospf priority <n>
timers: Option<OspfIfTimers>§auth: Option<OspfAuth>§passive: boolip ospf passive-interface
network_type: Option<OspfNetworkType>ip ospf network <type>
Trait Implementations§
Source§impl Clone for InterfaceOspf
impl Clone for InterfaceOspf
Source§fn clone(&self) -> InterfaceOspf
fn clone(&self) -> InterfaceOspf
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterfaceOspf
impl Debug for InterfaceOspf
Source§impl<'de> Deserialize<'de> for InterfaceOspf
impl<'de> Deserialize<'de> for InterfaceOspf
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InterfaceOspf, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InterfaceOspf, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InterfaceOspf
impl Serialize for InterfaceOspf
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for InterfaceOspf
impl RefUnwindSafe for InterfaceOspf
impl Send for InterfaceOspf
impl Sync for InterfaceOspf
impl Unpin for InterfaceOspf
impl UnsafeUnpin for InterfaceOspf
impl UnwindSafe for InterfaceOspf
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