pub struct RoutingExplainResult {
pub would_select: Option<HashMap<String, String>>,
pub firewall_decision: String,
pub reasoning: Option<String>,
pub routing_rule_id: Option<String>,
}Expand description
Outcome of a routing dry-run.
Fields§
§would_select: Option<HashMap<String, String>>Provider/model the gateway would route to, or None when the
firewall blocks the request.
firewall_decision: StringFirewall verdict ("allow" / "block_input").
reasoning: Option<String>Firewall reasoning, if any.
routing_rule_id: Option<String>Matched routing rule id, if any.
Trait Implementations§
Source§impl Clone for RoutingExplainResult
impl Clone for RoutingExplainResult
Source§fn clone(&self) -> RoutingExplainResult
fn clone(&self) -> RoutingExplainResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoutingExplainResult
impl Debug for RoutingExplainResult
Source§impl<'de> Deserialize<'de> for RoutingExplainResult
impl<'de> Deserialize<'de> for RoutingExplainResult
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 RoutingExplainResult
impl RefUnwindSafe for RoutingExplainResult
impl Send for RoutingExplainResult
impl Sync for RoutingExplainResult
impl Unpin for RoutingExplainResult
impl UnsafeUnpin for RoutingExplainResult
impl UnwindSafe for RoutingExplainResult
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