Skip to main content

tool_name_to_string

Function tool_name_to_string 

Source
pub fn tool_name_to_string<N: ToolName>(name: &N) -> String
Expand description

Helper to get string representation of a tool name via serde.

ยงPanics

Panics if the tool name cannot be serialized to a string. This should never happen with properly implemented ToolName types that use #[derive(Serialize)].