pub struct RelatedTaskMetadata {
pub task_id: String,
}Expand description
Metadata for associating messages with a task. Include this in the _meta field under the key io.modelcontextprotocol/related-task.
JSON schema
{
"description": "Metadata for associating messages with a task.\nInclude this in the _meta field under the key io.modelcontextprotocol/related-task.",
"type": "object",
"required": [
"taskId"
],
"properties": {
"taskId": {
"description": "The task identifier this message is associated with.",
"type": "string"
}
}
}Fields§
§task_id: StringThe task identifier this message is associated with.
Trait Implementations§
Source§impl Clone for RelatedTaskMetadata
impl Clone for RelatedTaskMetadata
Source§fn clone(&self) -> RelatedTaskMetadata
fn clone(&self) -> RelatedTaskMetadata
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 RelatedTaskMetadata
impl Debug for RelatedTaskMetadata
Source§impl<'de> Deserialize<'de> for RelatedTaskMetadata
impl<'de> Deserialize<'de> for RelatedTaskMetadata
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 RelatedTaskMetadata
impl RefUnwindSafe for RelatedTaskMetadata
impl Send for RelatedTaskMetadata
impl Sync for RelatedTaskMetadata
impl Unpin for RelatedTaskMetadata
impl UnwindSafe for RelatedTaskMetadata
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