pub struct OspfAreaConfig {
pub area: OspfArea,
pub networks: Vec<OspfNetwork>,
pub area_type: OspfAreaType,
pub auth: Option<OspfAuth>,
}Expand description
Per-area OSPF configuration.
Fields§
§area: OspfArea§networks: Vec<OspfNetwork>network <address> <wildcard> area <id> entries.
area_type: OspfAreaType§auth: Option<OspfAuth>Trait Implementations§
Source§impl Clone for OspfAreaConfig
impl Clone for OspfAreaConfig
Source§fn clone(&self) -> OspfAreaConfig
fn clone(&self) -> OspfAreaConfig
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 OspfAreaConfig
impl Debug for OspfAreaConfig
Source§impl<'de> Deserialize<'de> for OspfAreaConfig
impl<'de> Deserialize<'de> for OspfAreaConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OspfAreaConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OspfAreaConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OspfAreaConfig
impl Serialize for OspfAreaConfig
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 OspfAreaConfig
impl RefUnwindSafe for OspfAreaConfig
impl Send for OspfAreaConfig
impl Sync for OspfAreaConfig
impl Unpin for OspfAreaConfig
impl UnsafeUnpin for OspfAreaConfig
impl UnwindSafe for OspfAreaConfig
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