pub struct HistoryEvent {
pub task_id: String,
pub attempt_id: Option<String>,
pub at: Timestamp,
pub reason: TransitionReason,
}Expand description
Persist with the accompanying records. Per-task ordering is assigned under the same task lock; heartbeat renewals do not append history rows.
Fields§
§task_id: String§attempt_id: Option<String>§at: Timestamp§reason: TransitionReasonTrait Implementations§
Source§impl Clone for HistoryEvent
impl Clone for HistoryEvent
Source§impl Debug for HistoryEvent
impl Debug for HistoryEvent
Source§impl<'de> Deserialize<'de> for HistoryEvent
impl<'de> Deserialize<'de> for HistoryEvent
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
Auto Trait Implementations§
impl Freeze for HistoryEvent
impl RefUnwindSafe for HistoryEvent
impl Send for HistoryEvent
impl Sync for HistoryEvent
impl Unpin for HistoryEvent
impl UnsafeUnpin for HistoryEvent
impl UnwindSafe for HistoryEvent
Blanket Implementations§
impl<T> ArtifactLease for T
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