pub struct RouteMeta {
pub tags: Vec<String>,
pub scope: Option<String>,
pub properties: HashMap<String, String>,
}Expand description
Operational metadata on a route entry.
Fields§
Entity tags — drive policy group inheritance.
scope: Option<String>Host-defined grouping (virtual server ID, namespace, etc.). Used for scope matching: route scope must match request scope.
properties: HashMap<String, String>Arbitrary key-value metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteMeta
impl<'de> Deserialize<'de> for RouteMeta
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 RouteMeta
impl RefUnwindSafe for RouteMeta
impl Send for RouteMeta
impl Sync for RouteMeta
impl Unpin for RouteMeta
impl UnsafeUnpin for RouteMeta
impl UnwindSafe for RouteMeta
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