pub struct InjectConfig {
pub openai_api_key: Option<String>,
pub anthropic_api_key: Option<String>,
}Expand description
API key injection configuration
Fields§
§openai_api_key: Option<String>§anthropic_api_key: Option<String>Trait Implementations§
Source§impl Clone for InjectConfig
impl Clone for InjectConfig
Source§fn clone(&self) -> InjectConfig
fn clone(&self) -> InjectConfig
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 InjectConfig
impl Debug for InjectConfig
Source§impl Default for InjectConfig
impl Default for InjectConfig
Source§impl<'de> Deserialize<'de> for InjectConfig
impl<'de> Deserialize<'de> for InjectConfig
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 InjectConfig
impl RefUnwindSafe for InjectConfig
impl Send for InjectConfig
impl Sync for InjectConfig
impl Unpin for InjectConfig
impl UnwindSafe for InjectConfig
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