pub struct CompletionEvent {Show 13 fields
pub schema_version: String,
pub event_type: String,
pub job_id: String,
pub state: String,
pub command: Vec<String>,
pub cwd: Option<String>,
pub started_at: String,
pub finished_at: String,
pub duration_ms: Option<u64>,
pub exit_code: Option<i32>,
pub signal: Option<String>,
pub stdout_log_path: String,
pub stderr_log_path: String,
}Expand description
The job.finished event payload.
Fields§
§schema_version: String§event_type: String§job_id: String§state: String§command: Vec<String>§cwd: Option<String>§started_at: String§finished_at: String§duration_ms: Option<u64>§exit_code: Option<i32>§signal: Option<String>§stdout_log_path: String§stderr_log_path: StringTrait Implementations§
Source§impl Clone for CompletionEvent
impl Clone for CompletionEvent
Source§fn clone(&self) -> CompletionEvent
fn clone(&self) -> CompletionEvent
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 CompletionEvent
impl Debug for CompletionEvent
Source§impl<'de> Deserialize<'de> for CompletionEvent
impl<'de> Deserialize<'de> for CompletionEvent
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
Auto Trait Implementations§
impl Freeze for CompletionEvent
impl RefUnwindSafe for CompletionEvent
impl Send for CompletionEvent
impl Sync for CompletionEvent
impl Unpin for CompletionEvent
impl UnsafeUnpin for CompletionEvent
impl UnwindSafe for CompletionEvent
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