pub struct KeysFile {
pub google: Option<String>,
pub openai: Option<String>,
pub anthropic: Option<String>,
}Expand description
Configuration loaded from keys file
Fields§
§google: Option<String>The Google API key
openai: Option<String>The OpenAI API key
anthropic: Option<String>The Anthropic API key
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeysFile
impl<'de> Deserialize<'de> for KeysFile
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 KeysFile
impl RefUnwindSafe for KeysFile
impl Send for KeysFile
impl Sync for KeysFile
impl Unpin for KeysFile
impl UnwindSafe for KeysFile
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