pub struct MissingRequiredClientCapabilityErrorError {
pub code: i64,
pub data: MissingRequiredClientCapabilityErrorErrorData,
pub message: String,
}Expand description
Latest MCP Protocol 2026_07_28 MissingRequiredClientCapabilityErrorError
JSON schema
{
"allOf": [
{
"$ref": "#/$defs/Error"
},
{
"type": "object",
"required": [
"code",
"data"
],
"properties": {
"code": {
"type": "integer"
},
"data": {
"type": "object",
"required": [
"requiredCapabilities"
],
"properties": {
"requiredCapabilities": {
"description": "The capabilities the server requires from the client to process this request.",
"$ref": "#/$defs/ClientCapabilities"
}
}
}
}
}
]
}Fields§
§code: i64§data: MissingRequiredClientCapabilityErrorErrorData§message: StringA short description of the error. The message SHOULD be limited to a concise single sentence.
Trait Implementations§
Source§impl Clone for MissingRequiredClientCapabilityErrorError
impl Clone for MissingRequiredClientCapabilityErrorError
Source§fn clone(&self) -> MissingRequiredClientCapabilityErrorError
fn clone(&self) -> MissingRequiredClientCapabilityErrorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MissingRequiredClientCapabilityErrorError
impl<'de> Deserialize<'de> for MissingRequiredClientCapabilityErrorError
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
Auto Trait Implementations§
impl Freeze for MissingRequiredClientCapabilityErrorError
impl RefUnwindSafe for MissingRequiredClientCapabilityErrorError
impl Send for MissingRequiredClientCapabilityErrorError
impl Sync for MissingRequiredClientCapabilityErrorError
impl Unpin for MissingRequiredClientCapabilityErrorError
impl UnsafeUnpin for MissingRequiredClientCapabilityErrorError
impl UnwindSafe for MissingRequiredClientCapabilityErrorError
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