pub struct ModelPin {
pub provider: Provider,
pub model_id: String,
pub model_version: String,
pub params_hash: String,
}Expand description
A first-class pin on (provider, model, version, params).
Fields§
§provider: Provider§model_id: String§model_version: StringSemantic version or content digest of the model.
params_hash: StringHash of the sampling/params that affect output.
Implementations§
Trait Implementations§
impl Eq for ModelPin
impl StructuralPartialEq for ModelPin
Auto Trait Implementations§
impl Freeze for ModelPin
impl RefUnwindSafe for ModelPin
impl Send for ModelPin
impl Sync for ModelPin
impl Unpin for ModelPin
impl UnsafeUnpin for ModelPin
impl UnwindSafe for ModelPin
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