pub struct Upgrade {
pub id: UpgradeId,
pub name: String,
pub cost: Cost,
}
Expand description
Upgrade
Fields§
§id: UpgradeId
Id
name: String
Name
cost: Cost
Cost
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Upgrade
impl<'de> Deserialize<'de> for Upgrade
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 Upgrade
impl StructuralPartialEq for Upgrade
Auto Trait Implementations§
impl Freeze for Upgrade
impl RefUnwindSafe for Upgrade
impl Send for Upgrade
impl Sync for Upgrade
impl Unpin for Upgrade
impl UnwindSafe for Upgrade
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