pub struct UpgradeTier {
pub name: String,
pub yaks_required: u64,
pub upgrades: Vec<Upgrade>,
}
Fields§
§name: String
§yaks_required: u64
§upgrades: Vec<Upgrade>
Trait Implementations§
Source§impl Clone for UpgradeTier
impl Clone for UpgradeTier
Source§fn clone(&self) -> UpgradeTier
fn clone(&self) -> UpgradeTier
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 UpgradeTier
impl Debug for UpgradeTier
Source§impl<'de> Deserialize<'de> for UpgradeTier
impl<'de> Deserialize<'de> for UpgradeTier
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 UpgradeTier
impl RefUnwindSafe for UpgradeTier
impl Send for UpgradeTier
impl Sync for UpgradeTier
impl Unpin for UpgradeTier
impl UnwindSafe for UpgradeTier
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