pub struct ServerTaskTools {
pub call: Option<Map<String, Value>>,
}Expand description
Task support for tool-related requests.
JSON schema
{
"description": "Task support for tool-related requests.",
"type": "object",
"properties": {
"call": {
"description": "Whether the server supports task-augmented tools/call requests.",
"type": "object",
"additionalProperties": true
}
}
}Fields§
§call: Option<Map<String, Value>>Whether the server supports task-augmented tools/call requests.
Trait Implementations§
Source§impl Clone for ServerTaskTools
impl Clone for ServerTaskTools
Source§fn clone(&self) -> ServerTaskTools
fn clone(&self) -> ServerTaskTools
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 ServerTaskTools
impl Debug for ServerTaskTools
Source§impl Default for ServerTaskTools
impl Default for ServerTaskTools
Source§fn default() -> ServerTaskTools
fn default() -> ServerTaskTools
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerTaskTools
impl<'de> Deserialize<'de> for ServerTaskTools
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 ServerTaskTools
impl RefUnwindSafe for ServerTaskTools
impl Send for ServerTaskTools
impl Sync for ServerTaskTools
impl Unpin for ServerTaskTools
impl UnwindSafe for ServerTaskTools
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