To Map • Rust AI Agent SDK
to_map: Convert to HashMap for serialization.
to_map
Method
</div>
This is a method of the ThinkingUsage class in the thinking module.
Convert to HashMap for serialization.
Signature
def to_map(&self) -> HashMap<String, serde_json::Value>