HasData

Trait HasData 

Source
pub trait HasData {
    // Required method
    fn data(&self) -> HashMap<String, Value>;
}
Expand description

Core MCP protocol types and error handling

Required Methods§

Source

fn data(&self) -> HashMap<String, Value>

Returns an owned JSON‐object map of this value.

Implementors§