pub struct ClientTasksCapability {
pub list: Option<ClientTasksListCapability>,
pub cancel: Option<ClientTasksCancelCapability>,
pub requests: Option<ClientTasksRequestsCapability>,
}Expand description
Client capability for async task management
Fields§
§list: Option<ClientTasksListCapability>Support for listing tasks
cancel: Option<ClientTasksCancelCapability>Support for cancelling tasks
requests: Option<ClientTasksRequestsCapability>Which request types support task-augmented requests
Trait Implementations§
Source§impl Clone for ClientTasksCapability
impl Clone for ClientTasksCapability
Source§fn clone(&self) -> ClientTasksCapability
fn clone(&self) -> ClientTasksCapability
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 ClientTasksCapability
impl Debug for ClientTasksCapability
Source§impl Default for ClientTasksCapability
impl Default for ClientTasksCapability
Source§fn default() -> ClientTasksCapability
fn default() -> ClientTasksCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientTasksCapability
impl<'de> Deserialize<'de> for ClientTasksCapability
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 ClientTasksCapability
impl RefUnwindSafe for ClientTasksCapability
impl Send for ClientTasksCapability
impl Sync for ClientTasksCapability
impl Unpin for ClientTasksCapability
impl UnsafeUnpin for ClientTasksCapability
impl UnwindSafe for ClientTasksCapability
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