pub struct ActivityTaskCanceledEventAttributes {
pub details: Option<String>,
pub latest_cancel_requested_event_id: Option<i64>,
pub scheduled_event_id: i64,
pub started_event_id: i64,
}
Expand description
Provides the details of the ActivityTaskCanceled
event.
Fields§
§details: Option<String>
Details of the cancellation.
latest_cancel_requested_event_id: Option<i64>
If set, contains the ID of the last ActivityTaskCancelRequested
event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
scheduled_event_id: i64
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
started_event_id: i64
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Trait Implementations§
Source§impl Clone for ActivityTaskCanceledEventAttributes
impl Clone for ActivityTaskCanceledEventAttributes
Source§fn clone(&self) -> ActivityTaskCanceledEventAttributes
fn clone(&self) -> ActivityTaskCanceledEventAttributes
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 Default for ActivityTaskCanceledEventAttributes
impl Default for ActivityTaskCanceledEventAttributes
Source§fn default() -> ActivityTaskCanceledEventAttributes
fn default() -> ActivityTaskCanceledEventAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityTaskCanceledEventAttributes
impl<'de> Deserialize<'de> for ActivityTaskCanceledEventAttributes
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
Source§impl PartialEq for ActivityTaskCanceledEventAttributes
impl PartialEq for ActivityTaskCanceledEventAttributes
Source§fn eq(&self, other: &ActivityTaskCanceledEventAttributes) -> bool
fn eq(&self, other: &ActivityTaskCanceledEventAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActivityTaskCanceledEventAttributes
Auto Trait Implementations§
impl Freeze for ActivityTaskCanceledEventAttributes
impl RefUnwindSafe for ActivityTaskCanceledEventAttributes
impl Send for ActivityTaskCanceledEventAttributes
impl Sync for ActivityTaskCanceledEventAttributes
impl Unpin for ActivityTaskCanceledEventAttributes
impl UnwindSafe for ActivityTaskCanceledEventAttributes
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