pub enum ModelSpec {
Pinned {
model: String,
provider: Option<String>,
},
PinnedWithMatch {
model: String,
provider: Option<String>,
match_patterns: Vec<String>,
exclude_patterns: Vec<String>,
},
AutoResolve {
provider: Option<String>,
match_patterns: Vec<String>,
exclude_patterns: Vec<String>,
},
}Variants§
Trait Implementations§
impl StructuralPartialEq for ModelSpec
Auto Trait Implementations§
impl Forget for ModelSpec
impl Freeze for ModelSpec
impl Move for ModelSpec
impl RefUnwindSafe for ModelSpec
impl Send for ModelSpecwhere
RawVecInner: Send,
impl Sync for ModelSpecwhere
RawVecInner: Sync,
impl Unpin for ModelSpec
impl UnsafeUnpin for ModelSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ModelSpecwhere
RawVecInner: UnwindSafe,
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