pub struct ProviderSettings {
pub openai_chat: Option<OpenAiChatSettings>,
pub openai_responses: Option<OpenAiResponsesSettings>,
pub anthropic: Option<AnthropicSettings>,
pub google: Option<GoogleSettings>,
pub bedrock: Option<BedrockSettings>,
pub codex: Option<CodexSettings>,
pub gateway: Option<GatewaySettings>,
}Expand description
Typed provider-specific settings.
Fields§
§openai_chat: Option<OpenAiChatSettings>OpenAI Chat Completions settings.
openai_responses: Option<OpenAiResponsesSettings>OpenAI Responses settings.
anthropic: Option<AnthropicSettings>Anthropic Messages settings.
google: Option<GoogleSettings>Gemini generateContent settings.
bedrock: Option<BedrockSettings>Bedrock Converse settings.
codex: Option<CodexSettings>Codex OAuth routing settings.
gateway: Option<GatewaySettings>Gateway sticky-routing settings.
Implementations§
Trait Implementations§
Source§impl Clone for ProviderSettings
impl Clone for ProviderSettings
Source§fn clone(&self) -> ProviderSettings
fn clone(&self) -> ProviderSettings
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 ProviderSettings
impl Debug for ProviderSettings
Source§impl Default for ProviderSettings
impl Default for ProviderSettings
Source§fn default() -> ProviderSettings
fn default() -> ProviderSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderSettings
impl<'de> Deserialize<'de> for ProviderSettings
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 ProviderSettings
Source§impl PartialEq for ProviderSettings
impl PartialEq for ProviderSettings
Source§impl Serialize for ProviderSettings
impl Serialize for ProviderSettings
impl StructuralPartialEq for ProviderSettings
Auto Trait Implementations§
impl Freeze for ProviderSettings
impl RefUnwindSafe for ProviderSettings
impl Send for ProviderSettings
impl Sync for ProviderSettings
impl Unpin for ProviderSettings
impl UnsafeUnpin for ProviderSettings
impl UnwindSafe for ProviderSettings
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