pub struct QueuedJob {Show 38 fields
pub workspace_id: Option<String>,
pub id: Uuid,
pub parent_job: Option<Uuid>,
pub created_by: Option<String>,
pub created_at: Option<String>,
pub started_at: Option<String>,
pub scheduled_for: Option<String>,
pub running: bool,
pub script_path: Option<String>,
pub script_hash: Option<String>,
pub args: Option<HashMap<String, Value>>,
pub logs: Option<String>,
pub raw_code: Option<String>,
pub canceled: bool,
pub canceled_by: Option<String>,
pub canceled_reason: Option<String>,
pub last_ping: Option<String>,
pub job_kind: JobKind,
pub schedule_path: Option<String>,
pub permissioned_as: String,
pub flow_status: Option<Box<FlowStatus>>,
pub workflow_as_code_status: Option<Box<WorkflowStatus>>,
pub raw_flow: Option<Box<FlowValue>>,
pub is_flow_step: bool,
pub language: Option<ScriptLang>,
pub email: String,
pub visible_to_owner: bool,
pub mem_peak: Option<i32>,
pub tag: String,
pub priority: Option<i32>,
pub self_wait_time_ms: Option<f64>,
pub aggregate_wait_time_ms: Option<f64>,
pub suspend: Option<f64>,
pub preprocessed: Option<bool>,
pub is_retry: Option<bool>,
pub trigger_kind: Option<JobTriggerKind>,
pub trigger_path: Option<String>,
pub worker: Option<String>,
}Fields§
§workspace_id: Option<String>§id: Uuid§parent_job: Option<Uuid>§created_by: Option<String>§created_at: Option<String>§started_at: Option<String>§scheduled_for: Option<String>§running: bool§script_path: Option<String>§script_hash: Option<String>§args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
logs: Option<String>§raw_code: Option<String>§canceled: bool§canceled_by: Option<String>§canceled_reason: Option<String>§last_ping: Option<String>§job_kind: JobKind§schedule_path: Option<String>§permissioned_as: StringThe user (u/userfoo) or group (g/groupfoo) whom the execution of this script will be permissioned_as and by extension its DT_TOKEN.
flow_status: Option<Box<FlowStatus>>§workflow_as_code_status: Option<Box<WorkflowStatus>>§raw_flow: Option<Box<FlowValue>>§is_flow_step: bool§language: Option<ScriptLang>§email: String§visible_to_owner: bool§mem_peak: Option<i32>§tag: String§priority: Option<i32>§self_wait_time_ms: Option<f64>§aggregate_wait_time_ms: Option<f64>§suspend: Option<f64>§preprocessed: Option<bool>§is_retry: Option<bool>§trigger_kind: Option<JobTriggerKind>§trigger_path: Option<String>Path of the trigger, schedule or app that started the job, if any
worker: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueuedJob
impl<'de> Deserialize<'de> for QueuedJob
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 StructuralPartialEq for QueuedJob
Auto Trait Implementations§
impl Forget for QueuedJob
impl Freeze for QueuedJobwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, Value)>: Freeze,
*const FlowStatus is !null: Freeze,
PhantomData<FlowStatus>: Freeze,
*const WorkflowStatus is !null: Freeze,
PhantomData<WorkflowStatus>: Freeze,
*const FlowValue is !null: Freeze,
PhantomData<FlowValue>: Freeze,
impl Move for QueuedJob
impl RefUnwindSafe for QueuedJob
impl Send for QueuedJobwhere
RawVecInner: Send,
RawTable<(String, Value)>: Send,
BoxRaw<FlowStatus>: Send,
BoxRaw<WorkflowStatus>: Send,
BoxRaw<FlowValue>: Send,
impl Sync for QueuedJobwhere
RawVecInner: Sync,
RawTable<(String, Value)>: Sync,
BoxRaw<FlowStatus>: Sync,
BoxRaw<WorkflowStatus>: Sync,
BoxRaw<FlowValue>: Sync,
impl Unpin for QueuedJob
impl UnsafeUnpin for QueuedJobwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, Value)>: UnsafeUnpin,
*const FlowStatus is !null: UnsafeUnpin,
PhantomData<FlowStatus>: UnsafeUnpin,
*const WorkflowStatus is !null: UnsafeUnpin,
PhantomData<WorkflowStatus>: UnsafeUnpin,
*const FlowValue is !null: UnsafeUnpin,
PhantomData<FlowValue>: UnsafeUnpin,
impl UnwindSafe for QueuedJobwhere
RawVecInner: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
BoxRaw<FlowStatus>: UnwindSafe,
BoxRaw<WorkflowStatus>: UnwindSafe,
BoxRaw<FlowValue>: UnwindSafe,
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