pub struct StatusResponse {
pub current_model: Option<String>,
pub current_port: Option<u16>,
pub gpu_layers: Option<u32>,
pub ctx_size: Option<u32>,
pub batch_size: Option<u32>,
pub is_healthy: bool,
pub uptime_seconds: Option<u64>,
pub memory_usage: Option<String>,
}Fields§
§current_model: Option<String>§current_port: Option<u16>§gpu_layers: Option<u32>§ctx_size: Option<u32>§batch_size: Option<u32>§is_healthy: bool§uptime_seconds: Option<u64>§memory_usage: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatusResponse
impl RefUnwindSafe for StatusResponse
impl Send for StatusResponse
impl Sync for StatusResponse
impl Unpin for StatusResponse
impl UnsafeUnpin for StatusResponse
impl UnwindSafe for StatusResponse
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more