#[non_exhaustive]pub struct ResolutionMap {
pub name: String,
pub modes: Vec<String>,
}Expand description
A resolution-map <name>, the protocol next hop resolution modes that a then resolution-map action applies.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§modes: Vec<String>color-only and ip-color, in the order they are tried.
Trait Implementations§
Source§impl Clone for ResolutionMap
impl Clone for ResolutionMap
Source§impl Debug for ResolutionMap
impl Debug for ResolutionMap
impl Eq for ResolutionMap
Source§impl PartialEq for ResolutionMap
impl PartialEq for ResolutionMap
impl StructuralPartialEq for ResolutionMap
Auto Trait Implementations§
impl Forget for ResolutionMap
impl Freeze for ResolutionMap
impl Move for ResolutionMap
impl RefUnwindSafe for ResolutionMap
impl Send for ResolutionMapwhere
RawVecInner: Send,
impl Sync for ResolutionMapwhere
RawVecInner: Sync,
impl Unpin for ResolutionMap
impl UnsafeUnpin for ResolutionMapwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ResolutionMapwhere
RawVecInner: UnwindSafe,
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