pub struct ModelLaunchSpec {
pub id: u32,
pub name: String,
pub file_path: PathBuf,
pub tags: Vec<String>,
pub architecture: Option<String>,
pub context_length: Option<u64>,
}Expand description
Launch specification for running a model.
Contains all information needed to actually launch a model,
including the file path. Separate from ModelSummary to avoid
leaking filesystem details in catalog operations.
Fields§
§id: u32Database ID of the model.
name: StringModel name.
file_path: PathBufAbsolute path to the GGUF file.
Tags/labels associated with the model.
architecture: Option<String>Model architecture (for runtime configuration).
context_length: Option<u64>Maximum context length the model supports.
Trait Implementations§
Source§impl Clone for ModelLaunchSpec
impl Clone for ModelLaunchSpec
Source§fn clone(&self) -> ModelLaunchSpec
fn clone(&self) -> ModelLaunchSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModelLaunchSpec
impl RefUnwindSafe for ModelLaunchSpec
impl Send for ModelLaunchSpec
impl Sync for ModelLaunchSpec
impl Unpin for ModelLaunchSpec
impl UnwindSafe for ModelLaunchSpec
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