pub struct ScheduledActivityIdentifier {
pub instance: String,
pub execution_id: u64,
pub activity_id: u64,
}Expand description
Identity of an activity for cancellation purposes.
Used by the runtime to specify which activities should be cancelled during an orchestration turn (e.g., select losers, orchestration termination).
Fields§
§instance: StringInstance ID of the orchestration
execution_id: u64Execution ID within the instance
activity_id: u64Activity ID (the event_id of the ActivityScheduled event)
Trait Implementations§
Source§impl Clone for ScheduledActivityIdentifier
impl Clone for ScheduledActivityIdentifier
Source§fn clone(&self) -> ScheduledActivityIdentifier
fn clone(&self) -> ScheduledActivityIdentifier
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 ScheduledActivityIdentifier
impl Debug for ScheduledActivityIdentifier
impl Eq for ScheduledActivityIdentifier
impl StructuralPartialEq for ScheduledActivityIdentifier
Auto Trait Implementations§
impl Freeze for ScheduledActivityIdentifier
impl RefUnwindSafe for ScheduledActivityIdentifier
impl Send for ScheduledActivityIdentifier
impl Sync for ScheduledActivityIdentifier
impl Unpin for ScheduledActivityIdentifier
impl UnsafeUnpin for ScheduledActivityIdentifier
impl UnwindSafe for ScheduledActivityIdentifier
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