pub struct GeminiConfig {
pub api_key: String,
pub model: String,
pub api_url: Option<String>,
}
Fields§
§api_key: String
§model: String
§api_url: Option<String>
Trait Implementations§
Source§impl Clone for GeminiConfig
impl Clone for GeminiConfig
Source§fn clone(&self) -> GeminiConfig
fn clone(&self) -> GeminiConfig
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 moreAuto Trait Implementations§
impl Freeze for GeminiConfig
impl RefUnwindSafe for GeminiConfig
impl Send for GeminiConfig
impl Sync for GeminiConfig
impl Unpin for GeminiConfig
impl UnwindSafe for GeminiConfig
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