pub struct ClientTasksRequestsCapability {
pub sampling: Option<ClientTasksSamplingCapability>,
pub elicitation: Option<ClientTasksElicitationCapability>,
}Expand description
Legacy client capability declaring task-augmented request support.
Fields§
§sampling: Option<ClientTasksSamplingCapability>Task support for sampling-related requests
elicitation: Option<ClientTasksElicitationCapability>Task support for elicitation-related requests
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClientTasksRequestsCapability
impl<'de> Deserialize<'de> for ClientTasksRequestsCapability
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 ClientTasksRequestsCapability
impl RefUnwindSafe for ClientTasksRequestsCapability
impl Send for ClientTasksRequestsCapability
impl Sync for ClientTasksRequestsCapability
impl Unpin for ClientTasksRequestsCapability
impl UnsafeUnpin for ClientTasksRequestsCapability
impl UnwindSafe for ClientTasksRequestsCapability
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