Struct CronRun
pub struct CronRun {Show 14 fields
pub id: i64,
pub job_id: String,
pub started_at: DateTime<Utc>,
pub finished_at: DateTime<Utc>,
pub status: String,
pub output: Option<String>,
pub duration_ms: Option<i64>,
pub execution: Option<String>,
pub delivery: Option<String>,
pub persistence: Option<String>,
pub principal: Option<InternalPrincipal>,
pub executing_agent: Option<String>,
pub job_source: Option<String>,
pub owner_agent: Option<String>,
}Fields§
§id: i64§job_id: String§started_at: DateTime<Utc>§finished_at: DateTime<Utc>§status: String§output: Option<String>§duration_ms: Option<i64>§execution: Option<String>Execution axis of the separated run-outcome triple (ok | error).
None on rows recorded before the triple existed.
delivery: Option<String>Delivery axis (not_required | delivered | failed | skipped).
None on rows recorded before the triple existed.
persistence: Option<String>Persistence axis (not_bound | persisted | failed). None on rows
recorded before the triple existed.
principal: Option<InternalPrincipal>The initiating principal stamped at dispatch, verbatim — immune to
later job renames or owner changes. None on rows recorded before
provenance existed.
executing_agent: Option<String>The executing agent’s canonical alias at time of action. None on
rows recorded before provenance existed.
job_source: Option<String>The job’s source (imperative / declarative) at time of action;
keeps a run row retained past its job’s deletion reachable by the
cleanup that owns that id space. None on rows recorded before
provenance existed.
owner_agent: Option<String>Durable CURRENT cleanup owner: stamped as the executing agent at
insert and re-pointed by agent renames, unlike the immutable
executing_agent historical fact. Owner-scoped deletion and
authorized retained-row reads key on this. How a None (pre-column
row) resolves — live-job fallback or quarantine — is owned by the
store’s read/upgrade paths; see list_runs_for_agent and
initialize_schema in cron::store.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CronRun
impl<'de> Deserialize<'de> for CronRun
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>,
Auto Trait Implementations§
impl Freeze for CronRun
impl RefUnwindSafe for CronRun
impl Send for CronRun
impl Sync for CronRun
impl Unpin for CronRun
impl UnsafeUnpin for CronRun
impl UnwindSafe for CronRun
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more