pub struct DecayJob {
pub id: DecayJobId,
pub kind: DecayJobKind,
pub state: DecayJobState,
pub scheduled_for: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub created_by: String,
pub updated_at: DateTime<Utc>,
}Expand description
Durable shape of a scheduled decay job.
Fields§
§id: DecayJobIdStable decay job identifier.
kind: DecayJobKindWhat this job does.
state: DecayJobStateCurrent lifecycle state.
scheduled_for: DateTime<Utc>When the job becomes eligible to run.
created_at: DateTime<Utc>When the job was created.
created_by: StringOperator principal who created the job (free-form string at this substrate layer; downstream callers may enforce typed actor records).
updated_at: DateTime<Utc>When the job row was last mutated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DecayJob
impl<'de> Deserialize<'de> for DecayJob
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
Source§impl From<DecayJob> for DecayJobRecord
impl From<DecayJob> for DecayJobRecord
Source§impl TryFrom<DecayJobRecord> for DecayJob
impl TryFrom<DecayJobRecord> for DecayJob
Source§type Error = DecayJobConversionError
type Error = DecayJobConversionError
The type returned in the event of a conversion error.
impl Eq for DecayJob
impl StructuralPartialEq for DecayJob
Auto Trait Implementations§
impl Freeze for DecayJob
impl RefUnwindSafe for DecayJob
impl Send for DecayJob
impl Sync for DecayJob
impl Unpin for DecayJob
impl UnsafeUnpin for DecayJob
impl UnwindSafe for DecayJob
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.