pub struct SteelPathShopItem {
pub name: String,
pub cost: i32,
}Expand description
An Item in Teshin’s Shop
Fields§
§name: StringThe i18n Name of the Item
cost: i32The amount of Steel Essence this Item costs
Trait Implementations§
Source§impl Clone for SteelPathShopItem
impl Clone for SteelPathShopItem
Source§fn clone(&self) -> SteelPathShopItem
fn clone(&self) -> SteelPathShopItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SteelPathShopItem
impl Debug for SteelPathShopItem
Source§impl<'de> Deserialize<'de> for SteelPathShopItem
impl<'de> Deserialize<'de> for SteelPathShopItem
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
Source§impl PartialEq for SteelPathShopItem
impl PartialEq for SteelPathShopItem
impl StructuralPartialEq for SteelPathShopItem
Auto Trait Implementations§
impl Freeze for SteelPathShopItem
impl RefUnwindSafe for SteelPathShopItem
impl Send for SteelPathShopItem
impl Sync for SteelPathShopItem
impl Unpin for SteelPathShopItem
impl UnwindSafe for SteelPathShopItem
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