pub struct OspfNetwork {
pub prefix: IpNet,
pub wildcard: bool,
}Expand description
A network <addr> <wildcard> area <id> statement.
Fields§
§prefix: IpNetThe network prefix. If the config used a wildcard mask, it is converted to prefix length.
wildcard: boolTrue if the original config used a wildcard mask (not prefix length).
Trait Implementations§
Source§impl Clone for OspfNetwork
impl Clone for OspfNetwork
Source§fn clone(&self) -> OspfNetwork
fn clone(&self) -> OspfNetwork
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 OspfNetwork
impl Debug for OspfNetwork
Source§impl<'de> Deserialize<'de> for OspfNetwork
impl<'de> Deserialize<'de> for OspfNetwork
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OspfNetwork, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OspfNetwork, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OspfNetwork
impl Serialize for OspfNetwork
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 OspfNetwork
impl RefUnwindSafe for OspfNetwork
impl Send for OspfNetwork
impl Sync for OspfNetwork
impl Unpin for OspfNetwork
impl UnsafeUnpin for OspfNetwork
impl UnwindSafe for OspfNetwork
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