#[non_exhaustive]pub struct ActivityTaskCancelRequestedEventAttributes { /* private fields */ }
Expand description
Provides the details of the ActivityTaskCancelRequested
event.
Implementations§
source§impl ActivityTaskCancelRequestedEventAttributes
impl ActivityTaskCancelRequestedEventAttributes
sourcepub fn decision_task_completed_event_id(&self) -> i64
pub fn decision_task_completed_event_id(&self) -> i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the RequestCancelActivityTask
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn activity_id(&self) -> Option<&str>
pub fn activity_id(&self) -> Option<&str>
The unique ID of the task.
source§impl ActivityTaskCancelRequestedEventAttributes
impl ActivityTaskCancelRequestedEventAttributes
sourcepub fn builder() -> ActivityTaskCancelRequestedEventAttributesBuilder
pub fn builder() -> ActivityTaskCancelRequestedEventAttributesBuilder
Creates a new builder-style object to manufacture ActivityTaskCancelRequestedEventAttributes
.
Trait Implementations§
source§impl Clone for ActivityTaskCancelRequestedEventAttributes
impl Clone for ActivityTaskCancelRequestedEventAttributes
source§fn clone(&self) -> ActivityTaskCancelRequestedEventAttributes
fn clone(&self) -> ActivityTaskCancelRequestedEventAttributes
Returns a copy 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 PartialEq<ActivityTaskCancelRequestedEventAttributes> for ActivityTaskCancelRequestedEventAttributes
impl PartialEq<ActivityTaskCancelRequestedEventAttributes> for ActivityTaskCancelRequestedEventAttributes
source§fn eq(&self, other: &ActivityTaskCancelRequestedEventAttributes) -> bool
fn eq(&self, other: &ActivityTaskCancelRequestedEventAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActivityTaskCancelRequestedEventAttributes
Auto Trait Implementations§
impl RefUnwindSafe for ActivityTaskCancelRequestedEventAttributes
impl Send for ActivityTaskCancelRequestedEventAttributes
impl Sync for ActivityTaskCancelRequestedEventAttributes
impl Unpin for ActivityTaskCancelRequestedEventAttributes
impl UnwindSafe for ActivityTaskCancelRequestedEventAttributes
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