pub struct ServerTaskRequestsCapability {
pub tools: Option<ToolsTaskCapability>,
}Expand description
Specifies which request types can be augmented with tasks.
See the schema for details
Fields§
§tools: Option<ToolsTaskCapability>Specifies task support for tool-related requests.
Implementations§
Source§impl ServerTaskRequestsCapability
impl ServerTaskRequestsCapability
Sourcepub fn with_tools(self) -> Self
pub fn with_tools(self) -> Self
Specifies task support for tool-related requests.
Trait Implementations§
Source§impl Clone for ServerTaskRequestsCapability
impl Clone for ServerTaskRequestsCapability
Source§fn clone(&self) -> ServerTaskRequestsCapability
fn clone(&self) -> ServerTaskRequestsCapability
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 ServerTaskRequestsCapability
impl Debug for ServerTaskRequestsCapability
Source§impl Default for ServerTaskRequestsCapability
impl Default for ServerTaskRequestsCapability
Source§fn default() -> ServerTaskRequestsCapability
fn default() -> ServerTaskRequestsCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerTaskRequestsCapability
impl<'de> Deserialize<'de> for ServerTaskRequestsCapability
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 ServerTaskRequestsCapability
impl RefUnwindSafe for ServerTaskRequestsCapability
impl Send for ServerTaskRequestsCapability
impl Sync for ServerTaskRequestsCapability
impl Unpin for ServerTaskRequestsCapability
impl UnsafeUnpin for ServerTaskRequestsCapability
impl UnwindSafe for ServerTaskRequestsCapability
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