pub type ChatMessage = ChatMessage;Aliased Type§
pub struct ChatMessage {
pub role: String,
pub content: String,
pub tool_calls: Vec<ToolCall>,
pub tool_call_id: String,
}Fields§
§role: String§content: String§tool_calls: Vec<ToolCall>§tool_call_id: String