pub struct RoutingConfigSnapshot {
pub routing_enabled: bool,
pub prefer_cost_efficient: bool,
pub fallback_models: Vec<String>,
pub excluded_models: Vec<String>,
}Expand description
Snapshot of routing configuration (read-only API response).
Fields§
§routing_enabled: boolWhether automatic model routing is enabled.
prefer_cost_efficient: boolWhether cost-efficient models are preferred when routing.
fallback_models: Vec<String>Ordered list of fallback models (tried left-to-right on primary failure).
excluded_models: Vec<String>Models excluded from automatic routing.
Trait Implementations§
Source§impl Clone for RoutingConfigSnapshot
impl Clone for RoutingConfigSnapshot
Source§fn clone(&self) -> RoutingConfigSnapshot
fn clone(&self) -> RoutingConfigSnapshot
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 RoutingConfigSnapshot
impl Debug for RoutingConfigSnapshot
Source§impl<'de> Deserialize<'de> for RoutingConfigSnapshot
impl<'de> Deserialize<'de> for RoutingConfigSnapshot
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 RoutingConfigSnapshot
impl RefUnwindSafe for RoutingConfigSnapshot
impl Send for RoutingConfigSnapshot
impl Sync for RoutingConfigSnapshot
impl Unpin for RoutingConfigSnapshot
impl UnsafeUnpin for RoutingConfigSnapshot
impl UnwindSafe for RoutingConfigSnapshot
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