pub struct Shop {
pub items: [Item; 6],
}
Expand description
A shop, that you can buy items from
Fields§
§items: [Item; 6]
The items this shop has for sale
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shop
impl<'de> Deserialize<'de> for Shop
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 Shop
impl RefUnwindSafe for Shop
impl Send for Shop
impl Sync for Shop
impl Unpin for Shop
impl UnwindSafe for Shop
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