Modules§
Structs§
- Candidate
- Content
- Function
Declaration - Generate
Content Request - Generate
Content Response - Generation
Config - Inline
Data - Server
Tool Call - Server
Tool Response - 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.