pub struct ProviderConfig {
pub name: &'static str,
pub display_name: &'static str,
pub api_url: &'static str,
pub api_key_env: &'static str,
}Expand description
Configuration for an AI provider.
Fields§
§name: &'static strProvider identifier (lowercase, used in config files)
display_name: &'static strHuman-readable provider name for UI display
api_url: &'static strAPI base URL for this provider
api_key_env: &'static strEnvironment variable name for API key
Trait Implementations§
Source§impl Clone for ProviderConfig
impl Clone for ProviderConfig
Source§fn clone(&self) -> ProviderConfig
fn clone(&self) -> ProviderConfig
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 ProviderConfig
impl Debug for ProviderConfig
Source§impl PartialEq for ProviderConfig
impl PartialEq for ProviderConfig
Source§fn eq(&self, other: &ProviderConfig) -> bool
fn eq(&self, other: &ProviderConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProviderConfig
impl Eq for ProviderConfig
impl StructuralPartialEq for ProviderConfig
Auto Trait Implementations§
impl Freeze for ProviderConfig
impl RefUnwindSafe for ProviderConfig
impl Send for ProviderConfig
impl Sync for ProviderConfig
impl Unpin for ProviderConfig
impl UnsafeUnpin for ProviderConfig
impl UnwindSafe for ProviderConfig
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