The Rust SDK is in alpha. Interfaces may change between releases; check the crate version before upgrading.
Basic usage
Common patterns
Use theAnswerRequest builder for anything beyond a plain question, then call client.answer(&request):
Reference
Builder methods
Builder methods
query (impl Into<String>, required) - the question to answer.Response format
Response format
Error handling
Error handling