pub struct GetTaskPayloadResult {
pub meta: Option<Map<String, Value>>,
pub extra: Option<Map<String, Value>>,
}Expand description
The response to a tasks/result request. The structure matches the result type of the original request. For example, a tools/call task would return the CallToolResult structure.
JSON schema
{
"description": "The response to a tasks/result request.\nThe structure matches the result type of the original request.\nFor example, a tools/call task would return the CallToolResult structure.",
"type": "object",
"properties": {
"_meta": {
"description": "See [General fields: _meta](https://modelcontextprotocol.io/specification/2025-11-25/basic/index#meta) for notes on _meta usage.",
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": {}
}Fields§
§meta: Option<Map<String, Value>>See General fields: _meta for notes on _meta usage.
extra: Option<Map<String, Value>>Trait Implementations§
Source§impl Clone for GetTaskPayloadResult
impl Clone for GetTaskPayloadResult
Source§fn clone(&self) -> GetTaskPayloadResult
fn clone(&self) -> GetTaskPayloadResult
Returns a duplicate 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 Debug for GetTaskPayloadResult
impl Debug for GetTaskPayloadResult
Source§impl Default for GetTaskPayloadResult
impl Default for GetTaskPayloadResult
Source§fn default() -> GetTaskPayloadResult
fn default() -> GetTaskPayloadResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetTaskPayloadResult
impl<'de> Deserialize<'de> for GetTaskPayloadResult
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 From<GetTaskPayloadResult> for ClientResult
impl From<GetTaskPayloadResult> for ClientResult
Source§fn from(value: GetTaskPayloadResult) -> Self
fn from(value: GetTaskPayloadResult) -> Self
Converts to this type from the input type.
Source§impl From<GetTaskPayloadResult> for GenericResult
impl From<GetTaskPayloadResult> for GenericResult
Source§fn from(value: GetTaskPayloadResult) -> Self
fn from(value: GetTaskPayloadResult) -> Self
Converts to this type from the input type.
Source§impl From<GetTaskPayloadResult> for ServerResult
impl From<GetTaskPayloadResult> for ServerResult
Source§fn from(value: GetTaskPayloadResult) -> Self
fn from(value: GetTaskPayloadResult) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetTaskPayloadResult
impl Serialize for GetTaskPayloadResult
Source§impl TryFrom<ClientResult> for GetTaskPayloadResult
impl TryFrom<ClientResult> for GetTaskPayloadResult
Source§impl TryFrom<ServerResult> for GetTaskPayloadResult
impl TryFrom<ServerResult> for GetTaskPayloadResult
Auto Trait Implementations§
impl Freeze for GetTaskPayloadResult
impl RefUnwindSafe for GetTaskPayloadResult
impl Send for GetTaskPayloadResult
impl Sync for GetTaskPayloadResult
impl Unpin for GetTaskPayloadResult
impl UnwindSafe for GetTaskPayloadResult
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