pub struct ModelInfo {
pub name: String,
pub size: u64,
pub quantization: Option<String>,
pub parameters: Option<String>,
pub digest: Option<String>,
}Expand description
Information about an installed model.
Fields§
§name: StringModel name (e.g., “llama3.2:7b”).
size: u64Size in bytes.
quantization: Option<String>Quantization level (e.g., “Q4_K_M”, “Q8_0”).
parameters: Option<String>Parameter count (e.g., “7B”, “70B”).
digest: Option<String>Model digest/hash.
Implementations§
Trait Implementations§
impl Eq for ModelInfo
impl StructuralPartialEq for ModelInfo
Auto Trait Implementations§
impl Freeze for ModelInfo
impl RefUnwindSafe for ModelInfo
impl Send for ModelInfo
impl Sync for ModelInfo
impl Unpin for ModelInfo
impl UnsafeUnpin for ModelInfo
impl UnwindSafe for ModelInfo
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