pub struct WorkflowCancellationRequest {
pub workflow_id: String,
pub run_id: String,
pub duplicate: bool,
pub cancellation_request: CancellationRequest,
}Expand description
Acknowledgment of a request targeting the current durable run.
Fields§
§workflow_id: String§run_id: String§duplicate: bool§cancellation_request: CancellationRequestTrait Implementations§
Source§impl Clone for WorkflowCancellationRequest
impl Clone for WorkflowCancellationRequest
Source§impl Debug for WorkflowCancellationRequest
impl Debug for WorkflowCancellationRequest
impl Eq for WorkflowCancellationRequest
impl StructuralPartialEq for WorkflowCancellationRequest
Auto Trait Implementations§
impl Forget for WorkflowCancellationRequest
impl Freeze for WorkflowCancellationRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<CancellationLineage>: Freeze,
*const ScopedCancellationContext is !null: Freeze,
PhantomData<ScopedCancellationContext>: Freeze,
*const ArcInner<Mutex<WorkflowState>> is !null: Freeze,
impl Move for WorkflowCancellationRequest
impl RefUnwindSafe for WorkflowCancellationRequestwhere
NonZero<i32>: RefUnwindSafe,
Utc: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
Mutex<WorkflowState>: RefUnwindSafe,
impl Send for WorkflowCancellationRequest
impl Sync for WorkflowCancellationRequest
impl Unpin for WorkflowCancellationRequest
impl UnsafeUnpin for WorkflowCancellationRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<CancellationLineage>: UnsafeUnpin,
*const ScopedCancellationContext is !null: UnsafeUnpin,
PhantomData<ScopedCancellationContext>: UnsafeUnpin,
*const ArcInner<Mutex<WorkflowState>> is !null: UnsafeUnpin,
impl UnwindSafe for WorkflowCancellationRequestwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BoxRaw<ScopedCancellationContext>: UnwindSafe,
NonNull<ArcInner<Mutex<WorkflowState>>>: UnwindSafe,
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