pub struct EntityMetrics {Show 21 fields
pub entity_id: EntityId,
pub team: EntityTeam,
pub sampled_ticks: u64,
pub idle_in_contact_ticks: u64,
pub body_busy_ticks: u64,
pub whiffs: u64,
pub hits_while_casting: u64,
pub idle_share_pct: f64,
pub body_busy_share_pct: f64,
pub max_window_idle_share_pct: Option<f64>,
pub is_boss: bool,
pub stunned_ticks: u64,
pub stun_share_pct: f64,
pub damage_dealt: u64,
pub casts_started: u64,
pub casts_completed: u64,
pub casts_cancelled: u64,
pub stuns_applied: u64,
pub min_hp_fraction: Option<f64>,
pub healing_received: u64,
pub overheal: u64,
}Expand description
Per-entity summary line.
Fields§
§entity_id: EntityId§team: EntityTeam§sampled_ticks: u64§idle_in_contact_ticks: u64§body_busy_ticks: u64§whiffs: u64§hits_while_casting: u64§is_boss: boolA2-BAL-001. sampled_ticks is the entity’s lifetime F in game ticks;
stunned_ticks is S_actual in the same unit, so stun_share_pct is
100 × S_actual / F directly.
stunned_ticks: u64§damage_dealt: u64§casts_started: u64§casts_completed: u64§casts_cancelled: u64Started but never completed — the casts the stun ate. Saturating: a cast still in flight when the fight ends would otherwise underflow.
stuns_applied: u64§min_hp_fraction: Option<f64>A2-BAL-002 §2.5. None if the entity was never sampled alive.
healing_received: u64§overheal: u64Trait Implementations§
Source§impl Clone for EntityMetrics
impl Clone for EntityMetrics
Source§fn clone(&self) -> EntityMetrics
fn clone(&self) -> EntityMetrics
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 EntityMetrics
impl Debug for EntityMetrics
Auto Trait Implementations§
impl Freeze for EntityMetrics
impl RefUnwindSafe for EntityMetrics
impl Send for EntityMetrics
impl Sync for EntityMetrics
impl Unpin for EntityMetrics
impl UnwindSafe for EntityMetrics
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