pub struct ServerInfo {
pub model_id: Option<String>,
pub model_path: Option<String>,
pub priority: Option<u32>,
pub cost: Option<f32>,
pub worker_type: Option<String>,
pub tokenizer_path: Option<String>,
pub reasoning_parser: Option<String>,
pub tool_parser: Option<String>,
pub chat_template: Option<String>,
}Expand description
Server info response from /get_server_info endpoint
Fields§
§model_id: Option<String>§model_path: Option<String>§priority: Option<u32>§cost: Option<f32>§worker_type: Option<String>§tokenizer_path: Option<String>§reasoning_parser: Option<String>§tool_parser: Option<String>§chat_template: Option<String>Trait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Source§fn clone(&self) -> ServerInfo
fn clone(&self) -> ServerInfo
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 ServerInfo
impl Debug for ServerInfo
Source§impl<'de> Deserialize<'de> for ServerInfo
impl<'de> Deserialize<'de> for ServerInfo
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 ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnwindSafe for ServerInfo
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