pub struct Detected {
pub preset: String,
pub base_url: String,
pub models: Vec<String>,
}Expand description
A local inference server the engine found listening (see PRESETS).
Fields§
§preset: StringThe Preset::id whose port answered.
base_url: String§models: Vec<String>Model ids it lists.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Detected
impl<'de> Deserialize<'de> for Detected
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 Eq for Detected
impl StructuralPartialEq for Detected
Auto Trait Implementations§
impl Forget for Detected
impl Freeze for Detected
impl Move for Detected
impl RefUnwindSafe for Detected
impl Send for Detected
impl Sync for Detected
impl Unpin for Detected
impl UnsafeUnpin for Detected
impl UnwindSafe for Detected
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