HasCompleteParams

Trait HasCompleteParams 

Source
pub trait HasCompleteParams: Params {
    // Required methods
    fn reference(&self) -> &Value;
    fn argument(&self) -> &CompleteArgument;
    fn context(&self) -> Option<&Value>;
}
Expand description

The params object for completion/complete

Required Methods§

Source

fn reference(&self) -> &Value

The prompt or resource reference to complete against.

Source

fn argument(&self) -> &CompleteArgument

The name/value pair to complete.

Source

fn context(&self) -> Option<&Value>

Optional additional context.

Implementors§