pub struct TaskClientUpdateCancelled {
pub kind: TaskClientUpdateCancelledKind,
pub message: Option<String>,
pub reason: Option<String>,
}Expand description
Reports terminal cancellation after external work stopped.
Fields§
§kind: TaskClientUpdateCancelledKindClient task update variant discriminator.
message: Option<String>Optional final progress message
reason: Option<String>Optional human-readable cancellation reason
Trait Implementations§
Source§impl Clone for TaskClientUpdateCancelled
impl Clone for TaskClientUpdateCancelled
Source§fn clone(&self) -> TaskClientUpdateCancelled
fn clone(&self) -> TaskClientUpdateCancelled
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskClientUpdateCancelled
impl Debug for TaskClientUpdateCancelled
Source§impl Default for TaskClientUpdateCancelled
impl Default for TaskClientUpdateCancelled
Source§fn default() -> TaskClientUpdateCancelled
fn default() -> TaskClientUpdateCancelled
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskClientUpdateCancelled
impl<'de> Deserialize<'de> for TaskClientUpdateCancelled
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 TaskClientUpdateCancelled
impl RefUnwindSafe for TaskClientUpdateCancelled
impl Send for TaskClientUpdateCancelled
impl Sync for TaskClientUpdateCancelled
impl Unpin for TaskClientUpdateCancelled
impl UnsafeUnpin for TaskClientUpdateCancelled
impl UnwindSafe for TaskClientUpdateCancelled
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