pub struct ScheduledTaskClaim {
pub task_id: String,
pub namespace: String,
pub task_name: String,
pub owner_id: String,
pub scheduled_at: DateTime<Utc>,
pub claimed_at: DateTime<Utc>,
pub claim_expires_at: DateTime<Utc>,
}Expand description
Claimed scheduled task firing.
Fields§
§task_id: StringStable row identifier.
namespace: StringProduct namespace.
task_name: StringStable task wire name.
owner_id: StringRuntime owner id that owns this claim.
scheduled_at: DateTime<Utc>Due timestamp that was claimed.
claimed_at: DateTime<Utc>Claim acquisition timestamp.
claim_expires_at: DateTime<Utc>Claim expiry timestamp.
Trait Implementations§
Source§impl Clone for ScheduledTaskClaim
impl Clone for ScheduledTaskClaim
Source§fn clone(&self) -> ScheduledTaskClaim
fn clone(&self) -> ScheduledTaskClaim
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 ScheduledTaskClaim
impl Debug for ScheduledTaskClaim
Source§impl PartialEq for ScheduledTaskClaim
impl PartialEq for ScheduledTaskClaim
Source§fn eq(&self, other: &ScheduledTaskClaim) -> bool
fn eq(&self, other: &ScheduledTaskClaim) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ScheduledTaskClaim
impl StructuralPartialEq for ScheduledTaskClaim
Auto Trait Implementations§
impl Freeze for ScheduledTaskClaim
impl RefUnwindSafe for ScheduledTaskClaim
impl Send for ScheduledTaskClaim
impl Sync for ScheduledTaskClaim
impl Unpin for ScheduledTaskClaim
impl UnsafeUnpin for ScheduledTaskClaim
impl UnwindSafe for ScheduledTaskClaim
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.