pub struct GeminiClient { /* private fields */ }Expand description
Client for Google Gemini API
Implementations§
Source§impl GeminiClient
impl GeminiClient
Trait Implementations§
Source§impl Clone for GeminiClient
impl Clone for GeminiClient
Source§fn clone(&self) -> GeminiClient
fn clone(&self) -> GeminiClient
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 GeminiClient
impl Debug for GeminiClient
Source§impl LlmClient for GeminiClient
impl LlmClient for GeminiClient
Source§fn generate_commit_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
diff: &'life1 str,
template: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<(String, String)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn generate_commit_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
diff: &'life1 str,
template: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<(String, String)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Generate a commit message from a git diff Read more
Source§fn provider_name(&self) -> &str
fn provider_name(&self) -> &str
Get the provider name for display
Auto Trait Implementations§
impl Freeze for GeminiClient
impl !RefUnwindSafe for GeminiClient
impl Send for GeminiClient
impl Sync for GeminiClient
impl Unpin for GeminiClient
impl !UnwindSafe for GeminiClient
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