pub struct ModelResolution {
pub state: String,
pub model_id: String,
pub runtime: Option<String>,
pub path: Option<String>,
pub reason: Option<String>,
}Expand description
One declared model’s delivery resolution, mirroring the agent resolver’s
ModelResolution. state is resolved | needs_model | verify_failed;
when resolved, runtime and path name the cached model and how to run it,
and a plugin loads its detector from path. Otherwise reason explains why.
Fields§
§state: String§model_id: String§runtime: Option<String>§path: Option<String>§reason: Option<String>Trait Implementations§
Source§impl Clone for ModelResolution
impl Clone for ModelResolution
Source§impl Debug for ModelResolution
impl Debug for ModelResolution
Source§impl PartialEq for ModelResolution
impl PartialEq for ModelResolution
impl StructuralPartialEq for ModelResolution
Auto Trait Implementations§
impl Freeze for ModelResolution
impl RefUnwindSafe for ModelResolution
impl Send for ModelResolution
impl Sync for ModelResolution
impl Unpin for ModelResolution
impl UnsafeUnpin for ModelResolution
impl UnwindSafe for ModelResolution
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