pub struct JobOneOf {Show 38 fields
pub workspace_id: Option<String>,
pub id: Uuid,
pub parent_job: Option<Uuid>,
pub created_by: String,
pub created_at: String,
pub started_at: String,
pub duration_ms: i32,
pub success: bool,
pub script_path: Option<String>,
pub script_hash: Option<String>,
pub args: Option<HashMap<String, Value>>,
pub result: Option<Option<Value>>,
pub logs: Option<String>,
pub deleted: Option<bool>,
pub raw_code: Option<String>,
pub canceled: bool,
pub canceled_by: Option<String>,
pub canceled_reason: 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 is_skipped: bool,
pub email: String,
pub visible_to_owner: bool,
pub mem_peak: Option<i32>,
pub tag: String,
pub priority: Option<i32>,
pub labels: Option<Vec<String>>,
pub self_wait_time_ms: Option<f64>,
pub aggregate_wait_time_ms: Option<f64>,
pub preprocessed: Option<bool>,
pub worker: Option<String>,
pub type: Option<Type>,
}
Fields§
§workspace_id: Option<String>
§id: Uuid
§parent_job: Option<Uuid>
§created_by: String
§created_at: String
§started_at: String
§duration_ms: i32
§success: bool
§script_path: Option<String>
§script_hash: Option<String>
§args: Option<HashMap<String, Value>>
The arguments to pass to the script or flow
result: Option<Option<Value>>
§logs: Option<String>
§deleted: Option<bool>
§raw_code: Option<String>
§canceled: bool
§canceled_by: Option<String>
§canceled_reason: Option<String>
§job_kind: JobKind
§schedule_path: Option<String>
§permissioned_as: String
The 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>
§is_skipped: bool
§email: String
§visible_to_owner: bool
§mem_peak: Option<i32>
§tag: String
§priority: Option<i32>
§labels: Option<Vec<String>>
§self_wait_time_ms: Option<f64>
§aggregate_wait_time_ms: Option<f64>
§preprocessed: Option<bool>
§worker: Option<String>
§type: Option<Type>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobOneOf
impl<'de> Deserialize<'de> for JobOneOf
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 JobOneOf
Auto Trait Implementations§
impl Freeze for JobOneOf
impl RefUnwindSafe for JobOneOf
impl Send for JobOneOf
impl Sync for JobOneOf
impl Unpin for JobOneOf
impl UnwindSafe for JobOneOf
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