Struct ezomyte::Item [] [src]

pub struct Item {
    pub id: String,
    pub name: Option<String>,
    pub base: String,
    pub level: u64,
    pub category: Quasi<ItemCategory>,
    pub rarity: Rarity,
    pub quality: Quality,
    pub properties: Properties,
    pub details: Option<ItemDetails>,
    pub sockets: ItemSockets,
    pub extra: HashMap<String, Json>,
    pub requirements: HashMap<Requirement, u32>,
    pub corrupted: bool,
    pub influence: Option<Influence>,
    pub duplicated: bool,
    pub flavour_text: Option<String>,
}

A tradeable item in Path of Exile.

This includes all classes of wearable and usable items with the notable exception of Currency items.

Fields

Unique ID this game has associated with the item.

Name of the item.

It may be missing for white items, or generic items like gems.

Item base (type).

This is something like "Rustic Sash", "Crimson Jewel", or "Sunder".

Item level.

Category of the item.

This indicates what you can do with the item, e.g. the slot it is worn on.

Item rarity, such as magic or unique.

For items other than gear, this will be just Normal.

Item quality.

Innate item properties.

These properties are characteristics inherent to a particular item type, like armor/evasion/energy shield values and weapon damage range. Properties may have values (like damage ranges) or not (like gem "tags", e.g. "Spell", "Support", etc).

Item details.

These are specific to the particular kind of item. In most cases, details specify the mods of an item.

If the item type doesn't define any details (e.g. it's a currency item), this will be None.

Sockets an item has, if any.

Extra item attributes that do not fit into any other part of the schema.

This may include specific attributes of certain discontinued item types, like talismans. In any case, the attributes are preserved verbatim from the JSON.

Requirements for wearing or using the item.

Whether the item is corrupted.

Whether the item has been influenced by the War of the Atlas.

Whether the item has been duplicated (mirrored).

Flavor text associated with the item.

Methods

impl Item
[src]

[src]

Whether this item has an Elder-influenced base.

[src]

Whether this item has a Shaper-influenced base.

[src]

Whether this is a unique item.

[src]

Whether this item has been identified (or didn't need identification in the first place).

Important traits for Box<W>
[src]

Iterate over the item mods, if any.

Trait Implementations

impl Debug for Item
[src]

[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Item
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Item

impl !Sync for Item