pub struct ItemStat {
pub id: u32,
pub key: Option<String>,
pub value: f32,
}Expand description
One stat modifier. id is the stable Pixygon.Stats catalog id (identity);
key is documentation.
Fields§
§id: u32§key: Option<String>§value: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemStat
impl<'de> Deserialize<'de> for ItemStat
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 StructuralPartialEq for ItemStat
Auto Trait Implementations§
impl Freeze for ItemStat
impl RefUnwindSafe for ItemStat
impl Send for ItemStat
impl Sync for ItemStat
impl Unpin for ItemStat
impl UnsafeUnpin for ItemStat
impl UnwindSafe for ItemStat
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