pub struct PhaseResult {
pub phase_id: String,
pub phase_name: String,
pub start_time: Instant,
pub end_time: Option<Instant>,
pub duration: Duration,
pub success: bool,
pub error_message: Option<String>,
pub node_results: Vec<NodeResult>,
}Expand description
阶段结果
Fields§
§phase_id: String阶段ID
phase_name: String阶段名称
start_time: Instant开始时间
end_time: Option<Instant>结束时间
duration: Duration执行时间
success: bool是否成功
error_message: Option<String>错误信息
node_results: Vec<NodeResult>节点结果
Trait Implementations§
Source§impl Clone for PhaseResult
impl Clone for PhaseResult
Source§fn clone(&self) -> PhaseResult
fn clone(&self) -> PhaseResult
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 PhaseResult
impl RefUnwindSafe for PhaseResult
impl Send for PhaseResult
impl Sync for PhaseResult
impl Unpin for PhaseResult
impl UnwindSafe for PhaseResult
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