#[non_exhaustive]pub struct Summary {
pub fraction: Option<f64>,
pub unresolved_fraction: f64,
pub status: Status,
}Expand description
A lightweight observation of weighted progress, without names or allocations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fraction: Option<f64>Known weighted progress; unresolved children contribute zero.
None only for a leaf whose count denominator is unknown or overflowed.
Read unresolved_fraction alongside this value to expose missing evidence.
unresolved_fraction: f64Share whose denominator is unknown or invalid.
status: StatusState of the observed phase, independent of its fraction.
Trait Implementations§
impl Copy for Summary
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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