pub struct TasksCapability {
pub list: Option<EmptyObject>,
pub cancel: Option<EmptyObject>,
pub requests: Option<TasksRequestsCapability>,
}Expand description
Tasks capability
Fields§
§list: Option<EmptyObject>Whether this party supports tasks/list
cancel: Option<EmptyObject>Whether this party supports tasks/cancel
requests: Option<TasksRequestsCapability>Specifies which request types can be augmented with tasks
Trait Implementations§
Source§impl Clone for TasksCapability
impl Clone for TasksCapability
Source§fn clone(&self) -> TasksCapability
fn clone(&self) -> TasksCapability
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 TasksCapability
impl Debug for TasksCapability
Source§impl Default for TasksCapability
impl Default for TasksCapability
Source§fn default() -> TasksCapability
fn default() -> TasksCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TasksCapability
impl<'de> Deserialize<'de> for TasksCapability
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 TasksCapability
impl RefUnwindSafe for TasksCapability
impl Send for TasksCapability
impl Sync for TasksCapability
impl Unpin for TasksCapability
impl UnwindSafe for TasksCapability
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