pub struct LifecycleEvent {
pub id: RunEventId,
pub run: RunId,
pub state: RunState,
pub detail: Option<String>,
pub observed_at: Option<DateTime<Utc>>,
pub recorded_by: ActorId,
pub recorded_at: DateTime<Utc>,
}Expand description
One recorded lifecycle fact. A run’s start is its first one, with the run’s identity as its own.
Fields§
§id: RunEventIdTransition identity.
run: RunIdThe run it belongs to.
state: RunStateThe state the run entered.
detail: Option<String>Why, in the reporter’s words.
observed_at: Option<DateTime<Utc>>When the reporter says it happened.
recorded_by: ActorIdThe principal that reported it.
recorded_at: DateTime<Utc>When DPM recorded it; the receipt time, from DPM’s own clock.
Trait Implementations§
Source§impl Clone for LifecycleEvent
impl Clone for LifecycleEvent
Source§impl Debug for LifecycleEvent
impl Debug for LifecycleEvent
Source§impl<'de> Deserialize<'de> for LifecycleEvent
impl<'de> Deserialize<'de> for LifecycleEvent
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
impl Eq for LifecycleEvent
Source§impl PartialEq for LifecycleEvent
impl PartialEq for LifecycleEvent
Source§impl Serialize for LifecycleEvent
impl Serialize for LifecycleEvent
impl StructuralPartialEq for LifecycleEvent
Auto Trait Implementations§
impl Freeze for LifecycleEvent
impl RefUnwindSafe for LifecycleEvent
impl Send for LifecycleEvent
impl Sync for LifecycleEvent
impl Unpin for LifecycleEvent
impl UnsafeUnpin for LifecycleEvent
impl UnwindSafe for LifecycleEvent
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