pub struct CompletedJob {Show 37 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>,
}
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>>
§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>
Implementations§
Source§impl CompletedJob
impl CompletedJob
Trait Implementations§
Source§impl Clone for CompletedJob
impl Clone for CompletedJob
Source§fn clone(&self) -> CompletedJob
fn clone(&self) -> CompletedJob
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompletedJob
impl Debug for CompletedJob
Source§impl Default for CompletedJob
impl Default for CompletedJob
Source§fn default() -> CompletedJob
fn default() -> CompletedJob
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompletedJob
impl<'de> Deserialize<'de> for CompletedJob
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 PartialEq for CompletedJob
impl PartialEq for CompletedJob
Source§impl Serialize for CompletedJob
impl Serialize for CompletedJob
impl StructuralPartialEq for CompletedJob
Auto Trait Implementations§
impl Freeze for CompletedJob
impl RefUnwindSafe for CompletedJob
impl Send for CompletedJob
impl Sync for CompletedJob
impl Unpin for CompletedJob
impl UnwindSafe for CompletedJob
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