pub struct Equip {Show 13 fields
pub id: ItemId,
pub slot: Option<Slot>,
pub count: Option<usize>,
pub infusions: Option<Vec<ItemId>>,
pub upgrades: Option<Vec<ItemId>>,
pub skin: Option<SkinId>,
pub stats: Option<Stats>,
pub binding: Option<Binding>,
pub location: Location,
pub charges: Option<u16>,
pub bound_to: Option<String>,
pub dyes: Option<Vec<Option<ColorId>>>,
pub tabs: Option<Vec<usize>>,
}Fields§
§id: ItemId§slot: Option<Slot>§count: Option<usize>only present in character.equipment
infusions: Option<Vec<ItemId>>§upgrades: Option<Vec<ItemId>>§skin: Option<SkinId>§stats: Option<Stats>§binding: Option<Binding>§location: Location§charges: Option<u16>§bound_to: Option<String>§dyes: Option<Vec<Option<ColorId>>>§tabs: Option<Vec<usize>>only present in character.equipment
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Equip
impl<'de> Deserialize<'de> for Equip
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
impl Eq for Equip
impl StructuralPartialEq for Equip
Auto Trait Implementations§
impl Freeze for Equip
impl RefUnwindSafe for Equip
impl Send for Equip
impl Sync for Equip
impl Unpin for Equip
impl UnwindSafe for Equip
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,
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