pub struct ModelManagement {
pub base_url: String,
}Expand description
What a harness’s local-model management exposes — returned by
Harness::model_management (None when unsupported). Today only the
openai-compatible Ollama adapter manages models; carrying its endpoint lets
a host link out (e.g. “browse all models”) without re-deriving it, while the
pull/list/delete operations themselves stay behind the trait so HTTP never
leaves the adapter.
Fields§
§base_url: StringThe model server’s base URL (e.g. http://localhost:11434), for a host
to show or link to; not used to issue requests host-side.
Trait Implementations§
Source§impl Clone for ModelManagement
impl Clone for ModelManagement
Source§fn clone(&self) -> ModelManagement
fn clone(&self) -> ModelManagement
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 moreSource§impl Debug for ModelManagement
impl Debug for ModelManagement
impl Eq for ModelManagement
Source§impl PartialEq for ModelManagement
impl PartialEq for ModelManagement
Source§impl Serialize for ModelManagement
impl Serialize for ModelManagement
impl StructuralPartialEq for ModelManagement
Auto Trait Implementations§
impl Freeze for ModelManagement
impl RefUnwindSafe for ModelManagement
impl Send for ModelManagement
impl Sync for ModelManagement
impl Unpin for ModelManagement
impl UnsafeUnpin for ModelManagement
impl UnwindSafe for ModelManagement
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