pub struct ProviderConfigV4 {
pub alias: Option<String>,
pub enabled: bool,
pub base_url: Option<String>,
pub auth: UpstreamAuth,
pub inline_auth: UpstreamAuth,
pub tags: BTreeMap<String, String>,
pub supported_models: BTreeMap<String, bool>,
pub model_mapping: BTreeMap<String, String>,
pub endpoints: BTreeMap<String, ProviderEndpointV4>,
}Fields§
§alias: Option<String>§enabled: bool§base_url: Option<String>§auth: UpstreamAuth§inline_auth: UpstreamAuth§supported_models: BTreeMap<String, bool>§model_mapping: BTreeMap<String, String>§endpoints: BTreeMap<String, ProviderEndpointV4>Trait Implementations§
Source§impl Clone for ProviderConfigV4
impl Clone for ProviderConfigV4
Source§fn clone(&self) -> ProviderConfigV4
fn clone(&self) -> ProviderConfigV4
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 ProviderConfigV4
impl Debug for ProviderConfigV4
Source§impl Default for ProviderConfigV4
impl Default for ProviderConfigV4
Source§impl<'de> Deserialize<'de> for ProviderConfigV4
impl<'de> Deserialize<'de> for ProviderConfigV4
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 ProviderConfigV4
impl RefUnwindSafe for ProviderConfigV4
impl Send for ProviderConfigV4
impl Sync for ProviderConfigV4
impl Unpin for ProviderConfigV4
impl UnsafeUnpin for ProviderConfigV4
impl UnwindSafe for ProviderConfigV4
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