pub struct ExecutionRecord {
pub uuid: String,
pub pid: Option<u32>,
pub status: ExecutionStatus,
pub exit_code: Option<i32>,
pub command: String,
pub log_path: String,
pub start_time: String,
pub end_time: Option<String>,
pub working_directory: String,
pub shell: String,
pub platform: String,
pub options: HashMap<String, Value>,
}Expand description
Command Execution Record
Fields§
§uuid: String§pid: Option<u32>§status: ExecutionStatus§exit_code: Option<i32>§command: String§log_path: String§start_time: String§end_time: Option<String>§working_directory: String§shell: String§platform: String§options: HashMap<String, Value>Implementations§
Source§impl ExecutionRecord
impl ExecutionRecord
Sourcepub fn with_options(options: ExecutionRecordOptions) -> Self
pub fn with_options(options: ExecutionRecordOptions) -> Self
Create a new execution record with options
Trait Implementations§
Source§impl Clone for ExecutionRecord
impl Clone for ExecutionRecord
Source§fn clone(&self) -> ExecutionRecord
fn clone(&self) -> ExecutionRecord
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 ExecutionRecord
impl Debug for ExecutionRecord
Source§impl<'de> Deserialize<'de> for ExecutionRecord
impl<'de> Deserialize<'de> for ExecutionRecord
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 ExecutionRecord
impl RefUnwindSafe for ExecutionRecord
impl Send for ExecutionRecord
impl Sync for ExecutionRecord
impl Unpin for ExecutionRecord
impl UnsafeUnpin for ExecutionRecord
impl UnwindSafe for ExecutionRecord
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