pub struct LlmServerStatus {
pub running: bool,
pub endpoint: Option<String>,
pub model_path: Option<String>,
pub pid: Option<u32>,
}Expand description
Serialisable status reported to the frontend (Models tab indicator).
Fields§
§running: bool§endpoint: Option<String>Base origin of the managed server, e.g. http://127.0.0.1:8421.
model_path: Option<String>Absolute path of the LLM being served.
pid: Option<u32>Trait Implementations§
Source§impl Clone for LlmServerStatus
impl Clone for LlmServerStatus
Source§fn clone(&self) -> LlmServerStatus
fn clone(&self) -> LlmServerStatus
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 LlmServerStatus
impl Debug for LlmServerStatus
Source§impl Default for LlmServerStatus
impl Default for LlmServerStatus
Source§fn default() -> LlmServerStatus
fn default() -> LlmServerStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LlmServerStatus
impl RefUnwindSafe for LlmServerStatus
impl Send for LlmServerStatus
impl Sync for LlmServerStatus
impl Unpin for LlmServerStatus
impl UnsafeUnpin for LlmServerStatus
impl UnwindSafe for LlmServerStatus
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