pub struct StageHistoryEntry {
pub stage_id: String,
pub status: StageStatus,
pub last_at: u64,
pub published_at: Option<u64>,
}Expand description
One entry in the per-SigId stage history surfaced by
Store::sig_history. Newest-first ordering is the responsibility
of the producer.
Fields§
§stage_id: String§status: StageStatus§last_at: u64Wall-clock seconds of the most recent transition.
published_at: Option<u64>Wall-clock seconds when this stage was first written to the
store (its initial Draft transition). None for stages
whose lifecycle log doesn’t include an explicit Draft entry
— shouldn’t happen for stages published via Store::publish,
but the type allows hand-edited stores.
Trait Implementations§
Source§impl Clone for StageHistoryEntry
impl Clone for StageHistoryEntry
Source§fn clone(&self) -> StageHistoryEntry
fn clone(&self) -> StageHistoryEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StageHistoryEntry
impl Debug for StageHistoryEntry
Source§impl PartialEq for StageHistoryEntry
impl PartialEq for StageHistoryEntry
Source§impl Serialize for StageHistoryEntry
impl Serialize for StageHistoryEntry
impl StructuralPartialEq for StageHistoryEntry
Auto Trait Implementations§
impl Freeze for StageHistoryEntry
impl RefUnwindSafe for StageHistoryEntry
impl Send for StageHistoryEntry
impl Sync for StageHistoryEntry
impl Unpin for StageHistoryEntry
impl UnsafeUnpin for StageHistoryEntry
impl UnwindSafe for StageHistoryEntry
Blanket Implementations§
impl<T> Allocation 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