pub struct FightMetricsSummary {
pub total_sampled_ticks: u64,
pub total_whiffs: u64,
pub hero: Option<EntityMetrics>,
pub ally: TeamMetrics,
pub enemy: TeamMetrics,
pub entities: Vec<EntityMetrics>,
pub max_window_idle_share_pct: Option<f64>,
pub dispersion_ok: bool,
pub bosses: Vec<EntityMetrics>,
}Expand description
Whole-fight structured summary. Serialize to JSON for the sim harness, or read the fields directly in tests.
Fields§
§total_sampled_ticks: u64§total_whiffs: u64§hero: Option<EntityMetrics>§ally: TeamMetrics§enemy: TeamMetrics§entities: Vec<EntityMetrics>Max idle-in-contact share over any full 10 s window, any entity.
dispersion_ok: boolThe primary criterion: no full window exceeded the dispersion threshold.
bosses: Vec<EntityMetrics>A2-BAL-001 calibration row: the big-HP-bar entities in this fight, in
the same deterministic order as entities. A campaign or dungeon boss
fight has exactly one; every other production mode has none, which is
the card’s negative contract.
Trait Implementations§
Source§impl Clone for FightMetricsSummary
impl Clone for FightMetricsSummary
Source§fn clone(&self) -> FightMetricsSummary
fn clone(&self) -> FightMetricsSummary
Returns a copy 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 moreSource§impl Debug for FightMetricsSummary
impl Debug for FightMetricsSummary
Auto Trait Implementations§
impl Freeze for FightMetricsSummary
impl RefUnwindSafe for FightMetricsSummary
impl Send for FightMetricsSummary
impl Sync for FightMetricsSummary
impl Unpin for FightMetricsSummary
impl UnwindSafe for FightMetricsSummary
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