pub struct TimerEntry {
pub workflow_id: WorkflowId,
pub timer_id: TimerId,
pub fire_at: DateTime<Utc>,
}Expand description
Durable timer record returned by crate::ReadableEventStore::expired_timers.
Fields§
§workflow_id: WorkflowIdWorkflow that owns the timer.
timer_id: TimerIdTimer identifier within the owning workflow.
fire_at: DateTime<Utc>Instant at which the timer is due to fire.
Trait Implementations§
Source§impl Clone for TimerEntry
impl Clone for TimerEntry
Source§fn clone(&self) -> TimerEntry
fn clone(&self) -> TimerEntry
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 TimerEntry
impl Debug for TimerEntry
Source§impl<'de> Deserialize<'de> for TimerEntry
impl<'de> Deserialize<'de> for TimerEntry
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 TimerEntry
Source§impl Hash for TimerEntry
impl Hash for TimerEntry
Source§impl PartialEq for TimerEntry
impl PartialEq for TimerEntry
Source§fn eq(&self, other: &TimerEntry) -> bool
fn eq(&self, other: &TimerEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TimerEntry
impl Serialize for TimerEntry
impl StructuralPartialEq for TimerEntry
Auto Trait Implementations§
impl Freeze for TimerEntry
impl RefUnwindSafe for TimerEntry
impl Send for TimerEntry
impl Sync for TimerEntry
impl Unpin for TimerEntry
impl UnsafeUnpin for TimerEntry
impl UnwindSafe for TimerEntry
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