pub struct RuntimeModel {
pub id: String,
pub source: Option<String>,
pub revision: Option<String>,
pub digest: Option<String>,
pub size_bytes: Option<u64>,
pub present: bool,
}Fields§
§id: String§source: Option<String>Where the weights come from: ollama:qwen3:8b, hf://org/repo, …
revision: Option<String>§digest: Option<String>§size_bytes: Option<u64>§present: boolWhether the weights were found in the runtime’s local store at pin time.
Trait Implementations§
Source§impl Clone for RuntimeModel
impl Clone for RuntimeModel
Source§impl Debug for RuntimeModel
impl Debug for RuntimeModel
Source§impl Default for RuntimeModel
impl Default for RuntimeModel
Source§impl<'de> Deserialize<'de> for RuntimeModelwhere
RuntimeModel: Default,
impl<'de> Deserialize<'de> for RuntimeModelwhere
RuntimeModel: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeModel
impl PartialEq for RuntimeModel
Source§impl Serialize for RuntimeModel
impl Serialize for RuntimeModel
impl StructuralPartialEq for RuntimeModel
Auto Trait Implementations§
impl Freeze for RuntimeModel
impl RefUnwindSafe for RuntimeModel
impl Send for RuntimeModel
impl Sync for RuntimeModel
impl Unpin for RuntimeModel
impl UnsafeUnpin for RuntimeModel
impl UnwindSafe for RuntimeModel
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