pub struct GearEntry {
pub slot: GearSlot,
pub id: u32,
pub bonus_ids: Option<Vec<u32>>,
pub enchant_id: Option<u32>,
pub gem_ids: Option<Vec<u32>>,
pub crafted_stats: Option<Vec<u32>>,
pub crafting_quality: Option<u8>,
pub drop_level: Option<u32>,
pub ilevel: Option<u32>,
}Expand description
A single equipped item shared by simulation intents and parsed profiles.
Fields§
§slot: GearSlot§id: u32§bonus_ids: Option<Vec<u32>>§enchant_id: Option<u32>§gem_ids: Option<Vec<u32>>§crafted_stats: Option<Vec<u32>>§crafting_quality: Option<u8>§drop_level: Option<u32>§ilevel: Option<u32>Forced final item level, overriding bonus-derived scaling.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GearEntry
impl<'de> Deserialize<'de> for GearEntry
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 Tsify for GearEntry
impl Tsify for GearEntry
const DECL: &'static str = "/**\n * A single equipped item shared by simulation intents and parsed profiles.\n */\nexport interface GearEntry {\n slot: GearSlot;\n id: number;\n bonus_ids?: number[];\n enchant_id?: number;\n gem_ids?: number[];\n crafted_stats?: number[];\n crafting_quality?: number;\n drop_level?: number;\n /**\n * Forced final item level, overriding bonus-derived scaling.\n */\n ilevel?: number;\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>
impl StructuralPartialEq for GearEntry
Auto Trait Implementations§
impl Freeze for GearEntry
impl RefUnwindSafe for GearEntry
impl Send for GearEntry
impl Sync for GearEntry
impl Unpin for GearEntry
impl UnsafeUnpin for GearEntry
impl UnwindSafe for GearEntry
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