pub enum CreateMessageRequestParamsIncludeContext {
AllServers,
None,
ThisServer,
}
Expand description
A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.
JSON schema
{
"description": "A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.",
"type": "string",
"enum": [
"allServers",
"none",
"thisServer"
]
}
Variants§
Trait Implementations§
Source§impl Clone for CreateMessageRequestParamsIncludeContext
impl Clone for CreateMessageRequestParamsIncludeContext
Source§fn clone(&self) -> CreateMessageRequestParamsIncludeContext
fn clone(&self) -> CreateMessageRequestParamsIncludeContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for CreateMessageRequestParamsIncludeContext
impl<'de> Deserialize<'de> for CreateMessageRequestParamsIncludeContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for CreateMessageRequestParamsIncludeContext
impl Ord for CreateMessageRequestParamsIncludeContext
Source§fn cmp(&self, other: &CreateMessageRequestParamsIncludeContext) -> Ordering
fn cmp(&self, other: &CreateMessageRequestParamsIncludeContext) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreateMessageRequestParamsIncludeContext
impl PartialEq for CreateMessageRequestParamsIncludeContext
Source§fn eq(&self, other: &CreateMessageRequestParamsIncludeContext) -> bool
fn eq(&self, other: &CreateMessageRequestParamsIncludeContext) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CreateMessageRequestParamsIncludeContext
impl PartialOrd for CreateMessageRequestParamsIncludeContext
impl Copy for CreateMessageRequestParamsIncludeContext
impl Eq for CreateMessageRequestParamsIncludeContext
impl StructuralPartialEq for CreateMessageRequestParamsIncludeContext
Auto Trait Implementations§
impl Freeze for CreateMessageRequestParamsIncludeContext
impl RefUnwindSafe for CreateMessageRequestParamsIncludeContext
impl Send for CreateMessageRequestParamsIncludeContext
impl Sync for CreateMessageRequestParamsIncludeContext
impl Unpin for CreateMessageRequestParamsIncludeContext
impl UnwindSafe for CreateMessageRequestParamsIncludeContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more