pub struct BgpAggregate {
pub prefix: IpNet,
pub summary_only: bool,
pub as_set: bool,
}Expand description
A aggregate-address <prefix> … entry.
Fields§
§prefix: IpNet§summary_only: boolsummary-only — suppress more-specific prefixes.
as_set: boolas-set — include AS path information from contributing routes.
Trait Implementations§
Source§impl Clone for BgpAggregate
impl Clone for BgpAggregate
Source§fn clone(&self) -> BgpAggregate
fn clone(&self) -> BgpAggregate
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 BgpAggregate
impl Debug for BgpAggregate
Source§impl<'de> Deserialize<'de> for BgpAggregate
impl<'de> Deserialize<'de> for BgpAggregate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BgpAggregate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BgpAggregate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BgpAggregate
impl Serialize for BgpAggregate
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 BgpAggregate
impl RefUnwindSafe for BgpAggregate
impl Send for BgpAggregate
impl Sync for BgpAggregate
impl Unpin for BgpAggregate
impl UnsafeUnpin for BgpAggregate
impl UnwindSafe for BgpAggregate
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