pub struct AgentRoutingConfig {
pub routes: Vec<AgentRoute>,
pub catch_all: Option<String>,
}Expand description
Top-level agent routing configuration.
Fields§
§routes: Vec<AgentRoute>Ordered routing rules. First match wins.
catch_all: Option<String>Optional catch-all agent for messages that match no rule.
Trait Implementations§
Source§impl Clone for AgentRoutingConfig
impl Clone for AgentRoutingConfig
Source§fn clone(&self) -> AgentRoutingConfig
fn clone(&self) -> AgentRoutingConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentRoutingConfig
impl Debug for AgentRoutingConfig
Source§impl Default for AgentRoutingConfig
impl Default for AgentRoutingConfig
Source§fn default() -> AgentRoutingConfig
fn default() -> AgentRoutingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentRoutingConfig
impl<'de> Deserialize<'de> for AgentRoutingConfig
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 AgentRoutingConfig
impl RefUnwindSafe for AgentRoutingConfig
impl Send for AgentRoutingConfig
impl Sync for AgentRoutingConfig
impl Unpin for AgentRoutingConfig
impl UnsafeUnpin for AgentRoutingConfig
impl UnwindSafe for AgentRoutingConfig
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