pub struct ExecutionResult {
pub plan_id: String,
pub start_time: Instant,
pub end_time: Option<Instant>,
pub phase_results: Vec<PhaseResult>,
pub total_duration: Duration,
pub success: bool,
pub error_message: Option<String>,
}Expand description
执行结果
Fields§
§plan_id: String计划ID
start_time: Instant开始时间
end_time: Option<Instant>结束时间
phase_results: Vec<PhaseResult>阶段结果
total_duration: Duration总执行时间
success: bool是否成功
error_message: Option<String>错误信息
Trait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§fn clone(&self) -> ExecutionResult
fn clone(&self) -> ExecutionResult
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 moreAuto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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