pub struct RoutedTierConfig {
pub model: String,
pub thinking: Option<ThinkingLevel>,
pub fallbacks: Vec<String>,
}Expand description
Configuration for a single tier within a profile.
Fields§
§model: StringModel in "provider/model-id" format (e.g. "anthropic/claude-sonnet-4").
thinking: Option<ThinkingLevel>Optional thinking level override for this tier.
fallbacks: Vec<String>Ordered list of fallback model strings ("provider/model-id").
Trait Implementations§
Source§impl Clone for RoutedTierConfig
impl Clone for RoutedTierConfig
Source§fn clone(&self) -> RoutedTierConfig
fn clone(&self) -> RoutedTierConfig
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 RoutedTierConfig
impl Debug for RoutedTierConfig
Source§impl<'de> Deserialize<'de> for RoutedTierConfig
impl<'de> Deserialize<'de> for RoutedTierConfig
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 RoutedTierConfig
impl RefUnwindSafe for RoutedTierConfig
impl Send for RoutedTierConfig
impl Sync for RoutedTierConfig
impl Unpin for RoutedTierConfig
impl UnsafeUnpin for RoutedTierConfig
impl UnwindSafe for RoutedTierConfig
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