pub struct ResultItem {Show 17 fields
pub slot: String,
pub item_id: u32,
pub bonus_ids: Vec<u32>,
pub gem_ids: Vec<u32>,
pub gem_bonus_ids: Vec<u32>,
pub enchant_id: Option<u32>,
pub crafted_stats: Vec<u32>,
pub crafting_quality: Option<u8>,
pub drop_level: Option<u32>,
pub suffix: Option<i32>,
pub item_level: Option<u32>,
pub mean_dps: f64,
pub dps_delta_vs_baseline: f64,
pub ci95_half: Option<f64>,
pub rank: u32,
pub win_rate: Option<f64>,
pub source_label: Option<String>,
}Expand description
A single exported item row, carrying enough identity to reconstruct a WoW item: link.
Fields§
§slot: String§item_id: u32§bonus_ids: Vec<u32>§gem_ids: Vec<u32>§gem_bonus_ids: Vec<u32>§enchant_id: Option<u32>§crafted_stats: Vec<u32>§crafting_quality: Option<u8>Crafting quality (1-5).
drop_level: Option<u32>§suffix: Option<i32>§item_level: Option<u32>§mean_dps: f64§dps_delta_vs_baseline: f64§ci95_half: Option<f64>§rank: u321-indexed; 1 is the recommended pick.
win_rate: Option<f64>Fraction (0..=1) of phases where this item won its slot.
source_label: Option<String>Trait Implementations§
Source§impl Clone for ResultItem
impl Clone for ResultItem
Source§fn clone(&self) -> ResultItem
fn clone(&self) -> ResultItem
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 ResultItem
impl Debug for ResultItem
Source§impl<'de> Deserialize<'de> for ResultItem
impl<'de> Deserialize<'de> for ResultItem
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 ResultItem
impl PartialEq for ResultItem
Source§impl Serialize for ResultItem
impl Serialize for ResultItem
impl StructuralPartialEq for ResultItem
Auto Trait Implementations§
impl Freeze for ResultItem
impl RefUnwindSafe for ResultItem
impl Send for ResultItem
impl Sync for ResultItem
impl Unpin for ResultItem
impl UnsafeUnpin for ResultItem
impl UnwindSafe for ResultItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more