pub struct ActivityTaskStartedEventAttributes {
pub identity: Option<String>,
pub scheduled_event_id: i64,
}
Expand description
Provides the details of the ActivityTaskStarted
event.
Fields§
§identity: Option<String>
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
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.
Trait Implementations§
Source§impl Clone for ActivityTaskStartedEventAttributes
impl Clone for ActivityTaskStartedEventAttributes
Source§fn clone(&self) -> ActivityTaskStartedEventAttributes
fn clone(&self) -> ActivityTaskStartedEventAttributes
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 ActivityTaskStartedEventAttributes
impl Default for ActivityTaskStartedEventAttributes
Source§fn default() -> ActivityTaskStartedEventAttributes
fn default() -> ActivityTaskStartedEventAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityTaskStartedEventAttributes
impl<'de> Deserialize<'de> for ActivityTaskStartedEventAttributes
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 ActivityTaskStartedEventAttributes
impl PartialEq for ActivityTaskStartedEventAttributes
Source§fn eq(&self, other: &ActivityTaskStartedEventAttributes) -> bool
fn eq(&self, other: &ActivityTaskStartedEventAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActivityTaskStartedEventAttributes
Auto Trait Implementations§
impl Freeze for ActivityTaskStartedEventAttributes
impl RefUnwindSafe for ActivityTaskStartedEventAttributes
impl Send for ActivityTaskStartedEventAttributes
impl Sync for ActivityTaskStartedEventAttributes
impl Unpin for ActivityTaskStartedEventAttributes
impl UnwindSafe for ActivityTaskStartedEventAttributes
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