pub struct CompiledProviderConfig {
pub name: String,
pub provider_type: CompiledProviderType,
pub api_key: SecretString,
pub model: String,
pub options: HashMap<String, String>,
}Expand description
Compiled provider configuration from pack config.
Note: Different from cellstate_core::config::ProviderConfig (system bootstrap config).
Fields§
§name: String§provider_type: CompiledProviderType§api_key: SecretString§model: String§options: HashMap<String, String>Trait Implementations§
Source§impl Clone for CompiledProviderConfig
impl Clone for CompiledProviderConfig
Source§fn clone(&self) -> CompiledProviderConfig
fn clone(&self) -> CompiledProviderConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 CompiledProviderConfig
impl Debug for CompiledProviderConfig
Source§impl<'de> Deserialize<'de> for CompiledProviderConfig
impl<'de> Deserialize<'de> for CompiledProviderConfig
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
Source§impl PartialEq for CompiledProviderConfig
impl PartialEq for CompiledProviderConfig
Source§impl Serialize for CompiledProviderConfig
impl Serialize for CompiledProviderConfig
impl StructuralPartialEq for CompiledProviderConfig
Auto Trait Implementations§
impl Freeze for CompiledProviderConfig
impl RefUnwindSafe for CompiledProviderConfig
impl Send for CompiledProviderConfig
impl Sync for CompiledProviderConfig
impl Unpin for CompiledProviderConfig
impl UnwindSafe for CompiledProviderConfig
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