pub enum Model {
Unspecified,
G2_0Flash,
G2_0FlashThinking,
G2_5Flash,
G2_5Pro,
G2_0ExpAdvanced,
G2_5ExpAdvanced,
G3_0Pro,
G3_0Flash,
G3_0Thinking,
}Expand description
Available Gemini model configurations.
Variants§
Unspecified
Unspecified model - uses default.
G2_0Flash
Gemini 2.0 Flash
G2_0FlashThinking
Gemini 2.0 Flash Thinking
G2_5Flash
Gemini 2.5 Flash
G2_5Pro
Gemini 2.5 Pro
G2_0ExpAdvanced
Gemini 2.0 Experimental Advanced (requires advanced subscription)
G2_5ExpAdvanced
Gemini 2.5 Experimental Advanced (requires advanced subscription)
G3_0Pro
Gemini 3.0 Pro
G3_0Flash
Gemini 3.0 Flash
G3_0Thinking
Gemini 3.0 Flash Thinking
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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