Skip to main content

InputResponses

Type Alias InputResponses 

Source
pub type InputResponses = BTreeMap<String, Value>;
Expand description

A map of client responses to server-initiated requests.

Keys correspond to the keys in the InputRequests map; values are the client’s result for each request (ElicitResult, CreateMessageResult, or ListRootsResult), represented as opaque JSON because the heterogeneous ClientResult union does not derive the traits required for use as a BTreeMap value.

Aliased Type§

pub struct InputResponses { /* private fields */ }