pub struct SnapshotSummary {Show 18 fields
pub taken_at: DateTime<Utc>,
pub as_of: DateTime<Utc>,
pub baseline_number: u32,
pub bac: f32,
pub pv: f32,
pub ev: f32,
pub ac: f32,
pub sv: f32,
pub cv: f32,
pub spi: Option<f32>,
pub cpi: Option<f32>,
pub eac: Option<f32>,
pub etc: Option<f32>,
pub vac: Option<f32>,
pub tcpi: Option<f32>,
pub undefined: Vec<Undefined>,
pub alerts: Vec<String>,
pub backfilled: bool,
}Expand description
The stored summary of one EV snapshot: the report’s totals and ratios
(an undefined ratio stays None, serialised as null) and the alerts
raised when it was taken.
Fields§
§taken_at: DateTime<Utc>§as_of: DateTime<Utc>§baseline_number: u32§bac: f32§pv: f32§ev: f32§ac: f32§sv: f32§cv: f32§spi: Option<f32>§cpi: Option<f32>§eac: Option<f32>§etc: Option<f32>§vac: Option<f32>§tcpi: Option<f32>§undefined: Vec<Undefined>Why each null ratio is undefined (as in EvReport::undefined).
Absent in summaries stored before this field existed.
alerts: Vec<String>§backfilled: boolas_of is more than BACKFILL_TOLERANCE_HOURS before taken_at.
EV and AC are measured when the snapshot is taken, so a backfilled
snapshot pairs a past PV with present progress; trend alerts ignore
it. Absent (false) in summaries stored before this field existed.
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotSummary
impl Clone for SnapshotSummary
Source§impl Debug for SnapshotSummary
impl Debug for SnapshotSummary
Source§impl<'de> Deserialize<'de> for SnapshotSummary
impl<'de> Deserialize<'de> for SnapshotSummary
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
Source§impl PartialEq for SnapshotSummary
impl PartialEq for SnapshotSummary
Source§impl Serialize for SnapshotSummary
impl Serialize for SnapshotSummary
impl StructuralPartialEq for SnapshotSummary
Auto Trait Implementations§
impl Freeze for SnapshotSummary
impl RefUnwindSafe for SnapshotSummary
impl Send for SnapshotSummary
impl Sync for SnapshotSummary
impl Unpin for SnapshotSummary
impl UnsafeUnpin for SnapshotSummary
impl UnwindSafe for SnapshotSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.