pub struct EngineConfigResponse {
pub default_model: String,
pub api_key_set: bool,
pub api_key_source: Option<String>,
pub provider: Option<String>,
pub routing: RoutingConfigSnapshot,
}Expand description
Current engine configuration + credential status + routing.
Fields§
§default_model: StringCurrently configured default model.
api_key_set: boolWhether an API key is set for the current provider.
api_key_source: Option<String>Source of the API key (if any).
provider: Option<String>Provider name extracted from default_model.
routing: RoutingConfigSnapshotCurrent routing configuration.
Trait Implementations§
Source§impl Clone for EngineConfigResponse
impl Clone for EngineConfigResponse
Source§fn clone(&self) -> EngineConfigResponse
fn clone(&self) -> EngineConfigResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EngineConfigResponse
impl Debug for EngineConfigResponse
Source§impl<'de> Deserialize<'de> for EngineConfigResponse
impl<'de> Deserialize<'de> for EngineConfigResponse
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 EngineConfigResponse
impl RefUnwindSafe for EngineConfigResponse
impl Send for EngineConfigResponse
impl Sync for EngineConfigResponse
impl Unpin for EngineConfigResponse
impl UnsafeUnpin for EngineConfigResponse
impl UnwindSafe for EngineConfigResponse
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