pub struct PipelineReport {
pub total_runs: u64,
pub success_rate: f64,
pub avg_duration_secs: f64,
pub top_failures: Vec<String>,
}Expand description
流水线分析报告。
汇总指定分支在一段时间内的流水线运行统计数据。
Fields§
§total_runs: u64总运行次数。
success_rate: f64成功率(0.0 ~ 1.0)。
avg_duration_secs: f64平均运行时长(秒)。
top_failures: Vec<String>最常见的失败原因列表。
Trait Implementations§
Source§impl Clone for PipelineReport
impl Clone for PipelineReport
Source§impl Debug for PipelineReport
impl Debug for PipelineReport
Source§impl<'de> Deserialize<'de> for PipelineReport
impl<'de> Deserialize<'de> for PipelineReport
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 Forget for PipelineReport
impl Freeze for PipelineReport
impl Move for PipelineReport
impl RefUnwindSafe for PipelineReport
impl Send for PipelineReport
impl Sync for PipelineReport
impl Unpin for PipelineReport
impl UnsafeUnpin for PipelineReport
impl UnwindSafe for PipelineReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more