pub struct BankItem {
pub id: u64,
pub count: u16,
pub charges: Option<u64>,
pub skin: Option<u64>,
pub dyes: Option<Vec<u64>>,
pub upgrades: Option<Vec<u64>>,
pub upgrade_slot_indices: Option<Vec<u64>>,
pub infusions: Option<Vec<u64>>,
pub binding: Option<ItemBinding>,
pub bound_to: Option<String>,
pub stats: Option<Vec<ItemStats>>,
}
Expand description
A single item stored in an AccountBank
.
Fields§
§id: u64
The id of the item.
count: u16
The number of items stored on this stack.
charges: Option<u64>
The number of charges remaining on this item. Only avaliable for some items.
skin: Option<u64>
The id of the skin applied on this item. Only avaliable for some items.
dyes: Option<Vec<u64>>
A list of ids of dyes applied on this item. Only avaliable for some items.
upgrades: Option<Vec<u64>>
A list of upgrades applied on this item. Only avaliable for some items.
upgrade_slot_indices: Option<Vec<u64>>
§infusions: Option<Vec<u64>>
A list of infusions applied on this item. Only avaliable for some items.
binding: Option<ItemBinding>
Whom the item is bound to. If None
the item is not bound at all.
bound_to: Option<String>
The name of the character the item is bound to. Only avaliable if binding
is
Character
.
stats: Option<Vec<ItemStats>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BankItem
impl<'de> Deserialize<'de> for BankItem
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
Auto Trait Implementations§
impl Freeze for BankItem
impl RefUnwindSafe for BankItem
impl Send for BankItem
impl Sync for BankItem
impl Unpin for BankItem
impl UnwindSafe for BankItem
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