pub struct RouteSet {
pub name: String,
pub members: Vec<IpNet>,
pub set_members: Vec<String>,
pub descr: Vec<String>,
pub source: String,
pub extra: BTreeMap<String, Vec<String>>,
}Expand description
A route-set object: named collection of prefixes and/or other route-sets.
Fields§
§name: StringThe route-set name, e.g. RS-EXAMPLE.
members: Vec<IpNet>Direct prefix members.
set_members: Vec<String>Route-set members (named references, may require recursive resolution).
descr: Vec<String>The descr attributes.
source: StringThe source attribute.
extra: BTreeMap<String, Vec<String>>All other attributes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteSet
impl<'de> Deserialize<'de> for RouteSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RouteSet
impl RefUnwindSafe for RouteSet
impl Send for RouteSet
impl Sync for RouteSet
impl Unpin for RouteSet
impl UnsafeUnpin for RouteSet
impl UnwindSafe for RouteSet
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