Skip to main content

GetPromptRequest

Type Alias GetPromptRequest 

Source
pub type GetPromptRequest = Request<GetPromptRequestMethod, GetPromptRequestParams>;
Expand description

Request to get a specific prompt

Aliased Type§

pub struct GetPromptRequest {
    pub method: GetPromptRequestMethod,
    pub params: GetPromptRequestParams,
    pub extensions: Extensions,
}

Fields§

§method: GetPromptRequestMethod§params: GetPromptRequestParams§extensions: Extensions

extensions will carry anything possible in the context, including Meta

this is similar with the Extensions in http crate