pub struct Runtime {
pub name: String,
pub location: String,
pub version: Option<String>,
pub source: Option<String>,
pub endpoint: Option<String>,
pub model: Vec<RuntimeModel>,
}Expand description
A local inference runtime and the models the harness uses on it (pinned locks).
Fields§
§name: String§location: Stringlocal (this machine) or network (a self-hosted server on a private network).
version: Option<String>§source: Option<String>§endpoint: Option<String>§model: Vec<RuntimeModel>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Runtime
impl<'de> Deserialize<'de> for Runtime
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
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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