pub struct ActionView {Show 19 fields
pub spell_id: u32,
pub target_id: u32,
pub source: String,
pub source_id: u32,
pub pull_id: Option<u32>,
pub group_id: Option<u32>,
pub casts: u64,
pub direct_hits: u64,
pub ticks: u64,
pub crits: u64,
pub misses: u64,
pub dodges: u64,
pub parries: u64,
pub total_damage: f64,
pub execute_time_ms: u64,
pub resource_spent: f64,
pub resource_gained: f64,
pub dps: Option<f64>,
pub damage_pct: Option<f64>,
}Expand description
Per-spell action summary: casts, hits, damage, resource flow, derived DPS.
Fields§
§spell_id: u32§target_id: u32§source: String§source_id: u32§pull_id: Option<u32>§group_id: Option<u32>§casts: u64§direct_hits: u64§ticks: u64§crits: u64§misses: u64§dodges: u64§parries: u64§total_damage: f64§execute_time_ms: u64§resource_spent: f64§resource_gained: f64§dps: Option<f64>§damage_pct: Option<f64>Trait Implementations§
Source§impl Clone for ActionView
impl Clone for ActionView
Source§fn clone(&self) -> ActionView
fn clone(&self) -> ActionView
Returns a duplicate 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 ActionView
impl Debug for ActionView
Source§impl Serialize for ActionView
impl Serialize for ActionView
Source§impl Tsify for ActionView
impl Tsify for ActionView
const DECL: &'static str = "/**\n * Per-spell action summary: casts, hits, damage, resource flow, derived DPS.\n */\nexport interface ActionView {\n spell_id: number;\n target_id: number;\n source: string;\n source_id: number;\n pull_id: number | undefined;\n group_id: number | undefined;\n casts: number;\n direct_hits: number;\n ticks: number;\n crits: number;\n misses: number;\n dodges: number;\n parries: number;\n total_damage: number;\n execute_time_ms: number;\n resource_spent: number;\n resource_gained: number;\n dps: number | undefined;\n damage_pct: number | undefined;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for ActionView
impl RefUnwindSafe for ActionView
impl Send for ActionView
impl Sync for ActionView
impl Unpin for ActionView
impl UnsafeUnpin for ActionView
impl UnwindSafe for ActionView
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