Skip to main content

ItemSparseRow

Struct ItemSparseRow 

Source
pub struct ItemSparseRow {
Show 103 fields pub ID: i32, pub Description_lang: Option<String>, pub Display3_lang: Option<String>, pub Display2_lang: Option<String>, pub Display1_lang: Option<String>, pub Display_lang: Option<String>, pub ExpansionID: i32, pub DmgVariance: f32, pub LimitCategory: i32, pub DurationInInventory: i32, pub QualityModifier: f32, pub BagFamily: i32, pub StartQuestID: i32, pub LanguageID: i32, pub ItemRange: f32, pub StatPercentageOfSocket_0: f32, pub StatPercentageOfSocket_1: f32, pub StatPercentageOfSocket_2: f32, pub StatPercentageOfSocket_3: f32, pub StatPercentageOfSocket_4: f32, pub StatPercentageOfSocket_5: f32, pub StatPercentageOfSocket_6: f32, pub StatPercentageOfSocket_7: f32, pub StatPercentageOfSocket_8: f32, pub StatPercentageOfSocket_9: f32, pub StatPercentEditor_0: i32, pub StatPercentEditor_1: i32, pub StatPercentEditor_2: i32, pub StatPercentEditor_3: i32, pub StatPercentEditor_4: i32, pub StatPercentEditor_5: i32, pub StatPercentEditor_6: i32, pub StatPercentEditor_7: i32, pub StatPercentEditor_8: i32, pub StatPercentEditor_9: i32, pub StatModifierBonusStat_0: i32, pub StatModifierBonusStat_1: i32, pub StatModifierBonusStat_2: i32, pub StatModifierBonusStat_3: i32, pub StatModifierBonusStat_4: i32, pub StatModifierBonusStat_5: i32, pub StatModifierBonusStat_6: i32, pub StatModifierBonusStat_7: i32, pub StatModifierBonusStat_8: i32, pub StatModifierBonusStat_9: i32, pub Stackable: i32, pub MaxCount: i32, pub MinReputation: i32, pub RequiredAbility: i32, pub AllowableRaces_0: Option<i64>, pub AllowableRaces_1: Option<i64>, pub SellPrice: i32, pub BuyPrice: i32, pub VendorStackCount: i32, pub PriceVariance: f32, pub PriceRandomValue: f32, pub Flags_0: i32, pub Flags_1: i32, pub Flags_2: i32, pub Flags_3: i32, pub Flags_4: i32, pub OppositeFactionItemID: i32, pub ModifiedCraftingReagentItemID: i32, pub ContentTuningID: i32, pub PlayerLevelToItemLevelCurveID: i32, pub ItemLevelOffsetCurveID: i32, pub ItemLevelOffsetItemLevel: i32, pub ItemSquishEraID: i32, pub ItemNameDescriptionID: i32, pub RequiredTransmogHoliday: i32, pub RequiredHoliday: i32, pub GemProperties: i32, pub SocketMatchEnchantmentID: i32, pub TotemCategoryID: i32, pub InstanceBound: i32, pub ZoneBound_0: i32, pub ZoneBound_1: i32, pub ItemSet: i32, pub LockID: i32, pub PageID: i32, pub ItemDelay: i32, pub MinFactionID: i32, pub RequiredSkillRank: i32, pub RequiredSkill: i32, pub ItemLevel: i32, pub AllowableClass: i32, pub ArtifactID: i32, pub SpellWeight: i32, pub SpellWeightCategory: i32, pub SocketType_0: i32, pub SocketType_1: i32, pub SocketType_2: i32, pub SheatheType: i32, pub Material: i32, pub PageMaterialID: i32, pub Bonding: i32, pub DamageType: i32, pub ContainerSlots: i32, pub RequiredPVPMedal: i32, pub RequiredPVPRank: i32, pub RequiredLevel: i32, pub InventoryType: i32, pub OverallQualityID: i32,
}
Expand description

DBC row from ItemSparse.db2: extended item data with stats, flags, and requirements.

Fields§

§ID: i32§Description_lang: Option<String>§Display3_lang: Option<String>§Display2_lang: Option<String>§Display1_lang: Option<String>§Display_lang: Option<String>§ExpansionID: i32§DmgVariance: f32§LimitCategory: i32§DurationInInventory: i32§QualityModifier: f32§BagFamily: i32§StartQuestID: i32§LanguageID: i32§ItemRange: f32§StatPercentageOfSocket_0: f32§StatPercentageOfSocket_1: f32§StatPercentageOfSocket_2: f32§StatPercentageOfSocket_3: f32§StatPercentageOfSocket_4: f32§StatPercentageOfSocket_5: f32§StatPercentageOfSocket_6: f32§StatPercentageOfSocket_7: f32§StatPercentageOfSocket_8: f32§StatPercentageOfSocket_9: f32§StatPercentEditor_0: i32§StatPercentEditor_1: i32§StatPercentEditor_2: i32§StatPercentEditor_3: i32§StatPercentEditor_4: i32§StatPercentEditor_5: i32§StatPercentEditor_6: i32§StatPercentEditor_7: i32§StatPercentEditor_8: i32§StatPercentEditor_9: i32§StatModifierBonusStat_0: i32§StatModifierBonusStat_1: i32§StatModifierBonusStat_2: i32§StatModifierBonusStat_3: i32§StatModifierBonusStat_4: i32§StatModifierBonusStat_5: i32§StatModifierBonusStat_6: i32§StatModifierBonusStat_7: i32§StatModifierBonusStat_8: i32§StatModifierBonusStat_9: i32§Stackable: i32§MaxCount: i32§MinReputation: i32§RequiredAbility: i32§AllowableRaces_0: Option<i64>§AllowableRaces_1: Option<i64>§SellPrice: i32§BuyPrice: i32§VendorStackCount: i32§PriceVariance: f32§PriceRandomValue: f32§Flags_0: i32§Flags_1: i32§Flags_2: i32§Flags_3: i32§Flags_4: i32§OppositeFactionItemID: i32§ModifiedCraftingReagentItemID: i32§ContentTuningID: i32§PlayerLevelToItemLevelCurveID: i32§ItemLevelOffsetCurveID: i32§ItemLevelOffsetItemLevel: i32§ItemSquishEraID: i32§ItemNameDescriptionID: i32§RequiredTransmogHoliday: i32§RequiredHoliday: i32§GemProperties: i32§SocketMatchEnchantmentID: i32§TotemCategoryID: i32§InstanceBound: i32§ZoneBound_0: i32§ZoneBound_1: i32§ItemSet: i32§LockID: i32§PageID: i32§ItemDelay: i32§MinFactionID: i32§RequiredSkillRank: i32§RequiredSkill: i32§ItemLevel: i32§AllowableClass: i32§ArtifactID: i32§SpellWeight: i32§SpellWeightCategory: i32§SocketType_0: i32§SocketType_1: i32§SocketType_2: i32§SheatheType: i32§Material: i32§PageMaterialID: i32§Bonding: i32§DamageType: i32§ContainerSlots: i32§RequiredPVPMedal: i32§RequiredPVPRank: i32§RequiredLevel: i32§InventoryType: i32§OverallQualityID: i32

Trait Implementations§

Source§

impl Clone for ItemSparseRow

Source§

fn clone(&self) -> ItemSparseRow

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ItemSparseRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ItemSparseRow

Source§

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 HasId for ItemSparseRow

Source§

fn id(&self) -> i32

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SpecConfig for T
where T: Any + Debug + Send,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ResolverSyncBound for T
where T: Sync + ?Sized,