pub struct TierBinding {
pub provider: Provider,
pub endpoint: Option<String>,
pub model: String,
}Expand description
A tier’s full runtime binding: which provider serves it, at what endpoint (for
OpenAI-compatible providers), running which model. The shorthand YAML form tier: <model> is a
{ provider: anthropic, endpoint: none, model: <model> } binding — so existing configs are
unchanged, and the file target (which only reads model) behaves exactly as before.
Fields§
§provider: Provider§endpoint: Option<String>§model: StringTrait Implementations§
Source§impl Clone for TierBinding
impl Clone for TierBinding
Source§fn clone(&self) -> TierBinding
fn clone(&self) -> TierBinding
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 moreAuto Trait Implementations§
impl Freeze for TierBinding
impl RefUnwindSafe for TierBinding
impl Send for TierBinding
impl Sync for TierBinding
impl Unpin for TierBinding
impl UnsafeUnpin for TierBinding
impl UnwindSafe for TierBinding
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