pub struct EamScheduledTask {Show 13 fields
pub name: String,
pub owner: String,
pub task_type: Option<String>,
pub exec_start: Option<i64>,
pub message: String,
pub repeats: bool,
pub can_pause: bool,
pub can_resume: bool,
pub can_cancel: bool,
pub task_state: String,
pub is_forced: bool,
pub is_running: bool,
pub progress: f64,
}Expand description
One row of the scheduled/{running} pending-execution read —
wire-faithful, ALL 13 captured keys (10-LIVE-CAPTURES §2 +
Decision 2: the extract documented only 10; the live wire carries
isForced/isRunning/progress too). Unknown keys are ignored
by serde (read-only model — no round-trip needed).
Fields§
§name: StringThe task definition’s name.
owner: StringThe task’s owner (the force-verb’s owner segment source).
task_type: Option<String>type — a HUMAN LABEL ("Collect Backup"), NOT the
profile.type token (eam_backup): the runtime seam and the
config seam use DIFFERENT vocabularies — passthrough both,
never normalize (the history-taskType precedent, confirmed
on this seam; 10-LIVE-CAPTURES §2).
exec_start: Option<i64>execStart — epoch-ms while running; null on the captured
scheduled rows (10-LIVE-CAPTURES §2).
message: StringThe gateway’s own row message (empty string captured).
repeats: boolWhether the execution repeats (the scheduled cron task: true).
can_pause: boolcanPause — gateway-owned capability flag (the captured
Scheduled cell: true).
can_resume: boolcanResume — the captured Scheduled cell: false.
can_cancel: boolcanCancel — the captured Scheduled cell: true.
task_state: StringtaskState — CAPTURE-LOCKED String vocabulary
(EAM_TASK_STATES; observed "Scheduled"/"Suspended",
Running/Pending UNOBSERVED — passthrough, NEVER an enum;
10-LIVE-CAPTURES Decision 2).
is_forced: boolisForced — beyond-the-extract live key (false on the
captured rows; the force dispatch never produced a row).
is_running: boolisRunning — beyond-the-extract live key (false captured).
progress: f64progress — JSON float (0.0 captured on both rigs).
Trait Implementations§
Source§impl Clone for EamScheduledTask
impl Clone for EamScheduledTask
Source§fn clone(&self) -> EamScheduledTask
fn clone(&self) -> EamScheduledTask
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more