mcp-core-fishcode2025 0.1.0

Core types for the Model Context Protocol SDK
Documentation
1
2
3
4
5
6
7
8
9
/// Roles to describe the origin/ownership of content
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum Role {
    User,
    Assistant,
}