pub struct ModelRef {
pub provider: String,
pub model: String,
}Expand description
A parsed provider/model reference.
Fields§
§provider: StringProvider segment, e.g. anthropic.
model: StringModel segment, e.g. claude-haiku-4-5.
Implementations§
Trait Implementations§
impl Eq for ModelRef
impl StructuralPartialEq for ModelRef
Auto Trait Implementations§
impl Freeze for ModelRef
impl RefUnwindSafe for ModelRef
impl Send for ModelRef
impl Sync for ModelRef
impl Unpin for ModelRef
impl UnsafeUnpin for ModelRef
impl UnwindSafe for ModelRef
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