pub struct ResultItemDto {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>,
}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>§drop_level: Option<u32>§suffix: Option<i32>§item_level: Option<u32>§mean_dps: f64§dps_delta_vs_baseline: f64§ci95_half: Option<f64>§rank: u32§win_rate: Option<f64>§source_label: Option<String>Trait Implementations§
Source§impl Clone for ResultItemDto
impl Clone for ResultItemDto
Source§fn clone(&self) -> ResultItemDto
fn clone(&self) -> ResultItemDto
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 ResultItemDto
impl Debug for ResultItemDto
Source§impl<'de> Deserialize<'de> for ResultItemDto
impl<'de> Deserialize<'de> for ResultItemDto
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 From<ResultItem> for ResultItemDto
impl From<ResultItem> for ResultItemDto
Source§fn from(v: ResultItem) -> Self
fn from(v: ResultItem) -> Self
Converts to this type from the input type.
Source§impl From<ResultItemDto> for JsValuewhere
ResultItemDto: Serialize,
impl From<ResultItemDto> for JsValuewhere
ResultItemDto: Serialize,
Source§fn from(value: ResultItemDto) -> Self
fn from(value: ResultItemDto) -> Self
Converts to this type from the input type.
Source§impl From<ResultItemDto> for ResultItem
impl From<ResultItemDto> for ResultItem
Source§fn from(v: ResultItemDto) -> Self
fn from(v: ResultItemDto) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
impl FromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &ResultItemDtowhere
ResultItemDto: Serialize,
impl IntoWasmAbi for &ResultItemDtowhere
ResultItemDto: Serialize,
Source§impl IntoWasmAbi for ResultItemDtowhere
ResultItemDto: Serialize,
impl IntoWasmAbi for ResultItemDtowhere
ResultItemDto: Serialize,
Source§impl OptionFromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for ResultItemDtowhere
ResultItemDto: Serialize,
impl OptionIntoWasmAbi for ResultItemDtowhere
ResultItemDto: Serialize,
Source§impl RefFromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
impl RefFromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<ResultItemDto>
type Anchor = SelfOwner<ResultItemDto>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for ResultItemDto
impl Serialize for ResultItemDto
Source§impl Tsify for ResultItemDto
impl Tsify for ResultItemDto
const DECL: &'static str = "export interface ResultItemDto {\n slot: string;\n itemId: number;\n bonusIds?: number[];\n gemIds?: number[];\n gemBonusIds?: number[];\n enchantId?: number | undefined;\n craftedStats?: number[];\n craftingQuality?: number | undefined;\n dropLevel?: number | undefined;\n suffix?: number | undefined;\n itemLevel?: number | undefined;\n meanDps: number;\n dpsDeltaVsBaseline: number;\n ci95Half?: number | undefined;\n rank: number;\n winRate?: number | undefined;\n sourceLabel?: string | undefined;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for ResultItemDtowhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for ResultItemDtowhere
ResultItemDto: Serialize,
impl VectorIntoWasmAbi for ResultItemDtowhere
ResultItemDto: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for ResultItemDto
impl WasmDescribe for ResultItemDto
Source§impl WasmDescribeVector for ResultItemDto
impl WasmDescribeVector for ResultItemDto
Auto Trait Implementations§
impl Freeze for ResultItemDto
impl RefUnwindSafe for ResultItemDto
impl Send for ResultItemDto
impl Sync for ResultItemDto
impl Unpin for ResultItemDto
impl UnsafeUnpin for ResultItemDto
impl UnwindSafe for ResultItemDto
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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.