pub struct BuiltinProxySpec {
pub kind: BuiltinProxyKind,
pub wire_name: &'static str,
pub command_name: &'static str,
pub version: u32,
pub healthcheck_path: &'static str,
pub reset_prefix_cache_path: Option<&'static str>,
pub prime_prefix_cache_path: Option<&'static str>,
pub completions_path: &'static str,
pub chat_completions_path: &'static str,
}Expand description
One built-in proxy implementation’s identity and proxy-owned facts.
Fields§
§kind: BuiltinProxyKind§wire_name: &'static strThe plan-declaration vocabulary: the frontend implementation value an
adapter returns on the wire.
command_name: &'static str§version: u32Implementation version the proxy owns; the control plane rejects
adapter declarations whose implementation_version disagrees.
healthcheck_path: &'static str§reset_prefix_cache_path: Option<&'static str>§prime_prefix_cache_path: Option<&'static str>§completions_path: &'static str§chat_completions_path: &'static strAuto Trait Implementations§
impl Freeze for BuiltinProxySpec
impl RefUnwindSafe for BuiltinProxySpec
impl Send for BuiltinProxySpec
impl Sync for BuiltinProxySpec
impl Unpin for BuiltinProxySpec
impl UnsafeUnpin for BuiltinProxySpec
impl UnwindSafe for BuiltinProxySpec
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