pub struct RouteRow {
pub harness: String,
pub target: String,
pub matcher: RouteMatch,
pub specificity: u32,
pub default: bool,
pub source: String,
}Expand description
One routing entry.
Fields§
§harness: String§target: StringTarget profile (Hermes) or agent id (OpenClaw).
matcher: RouteMatch§specificity: u32The harness’s own precedence rank; higher wins.
default: boolThe fallback route (no match fields).
source: StringConfig file the route was read from.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteRow
impl<'de> Deserialize<'de> for RouteRow
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
impl Eq for RouteRow
impl StructuralPartialEq for RouteRow
Auto Trait Implementations§
impl Freeze for RouteRow
impl RefUnwindSafe for RouteRow
impl Send for RouteRow
impl Sync for RouteRow
impl Unpin for RouteRow
impl UnsafeUnpin for RouteRow
impl UnwindSafe for RouteRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.