pub struct LocalModel {
pub name: String,
pub size: u64,
pub digest: String,
pub modified_at: DateTime<Utc>,
pub metadata: ModelMetadata,
}Expand description
Information about a local model
Fields§
§name: StringModel name/ID (e.g., “mistral:latest”)
size: u64Model size in bytes
digest: StringModel digest/hash
modified_at: DateTime<Utc>When the model was last modified
metadata: ModelMetadataModel metadata
Trait Implementations§
Source§impl Clone for LocalModel
impl Clone for LocalModel
Source§fn clone(&self) -> LocalModel
fn clone(&self) -> LocalModel
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 moreSource§impl Debug for LocalModel
impl Debug for LocalModel
Source§impl<'de> Deserialize<'de> for LocalModel
impl<'de> Deserialize<'de> for LocalModel
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 LocalModel
impl PartialEq for LocalModel
Source§impl Serialize for LocalModel
impl Serialize for LocalModel
impl Eq for LocalModel
impl StructuralPartialEq for LocalModel
Auto Trait Implementations§
impl Freeze for LocalModel
impl RefUnwindSafe for LocalModel
impl Send for LocalModel
impl Sync for LocalModel
impl Unpin for LocalModel
impl UnwindSafe for LocalModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.