Expand description
Gemini wire types and transport helpers owned by the provider tree.
Modules§
Structs§
- Candidate
- Client
- Client
Config - Configuration for HTTP client optimization
- Content
- Function
Call - Function
Calling Config - Function
Declaration - Function
Response - Generate
Content Request - Generate
Content Response - Generation
Config - Inline
Data - Retry
Config - Retry configuration for streaming operations
- Server
Tool Call - Server
Tool Response - Streaming
Candidate - Streaming candidate structure
- Streaming
Config - Configuration for the streaming processor
- Streaming
Metrics - Streaming metrics for monitoring and debugging
- Streaming
Processor - Streaming processor for handling real-time responses from the Gemini API
- Streaming
Response - Streaming response structure
- System
Instruction - Thinking
Config - Tool
- Tool
Config
Enums§
- Part
- IMPORTANT: Variant ordering matters for
#[serde(untagged)]deserialization. Serde tries variants in declaration order and returns the first successful match. Variants with required fields (FunctionCall, FunctionResponse, InlineData, Text) must come BEFORE CacheControl, which has only optional fields and would otherwise act as a catch-all, matching any JSON object. - Streaming
Error - Streaming error types for better error classification and handling