pub struct RunningModel {
pub name: String,
pub model: String,
pub size: u64,
pub digest: String,
pub details: ModelDetails,
pub expires_at: String,
pub size_vram: u64,
}Expand description
A running model.
Fields§
§name: String§model: String§size: u64§digest: String§details: ModelDetails§expires_at: String§size_vram: u64Trait Implementations§
Source§impl Clone for RunningModel
impl Clone for RunningModel
Source§fn clone(&self) -> RunningModel
fn clone(&self) -> RunningModel
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 RunningModel
impl Debug for RunningModel
Source§impl<'de> Deserialize<'de> for RunningModel
impl<'de> Deserialize<'de> for RunningModel
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
Auto Trait Implementations§
impl Freeze for RunningModel
impl RefUnwindSafe for RunningModel
impl Send for RunningModel
impl Sync for RunningModel
impl Unpin for RunningModel
impl UnsafeUnpin for RunningModel
impl UnwindSafe for RunningModel
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