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§fn clone(&self) -> RuntimeModel
fn clone(&self) -> RuntimeModel
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 RuntimeModel
impl Debug for RuntimeModel
Source§impl Default for RuntimeModel
impl Default for RuntimeModel
Source§fn default() -> RuntimeModel
fn default() -> RuntimeModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeModelwhere
RuntimeModel: Default,
impl<'de> Deserialize<'de> for RuntimeModelwhere
RuntimeModel: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuntimeModel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuntimeModel, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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