pub struct GroqConfig {
pub api_key: String,
pub model: String,
}Fields§
§api_key: String§model: StringTrait Implementations§
Source§impl Clone for GroqConfig
impl Clone for GroqConfig
Source§fn clone(&self) -> GroqConfig
fn clone(&self) -> GroqConfig
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 GroqConfig
impl Debug for GroqConfig
Source§impl<'de> Deserialize<'de> for GroqConfig
impl<'de> Deserialize<'de> for GroqConfig
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 GroqConfig
impl RefUnwindSafe for GroqConfig
impl Send for GroqConfig
impl Sync for GroqConfig
impl Unpin for GroqConfig
impl UnsafeUnpin for GroqConfig
impl UnwindSafe for GroqConfig
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