pub struct UpgradeCost {
pub type: Option<UpgradeType>,
pub item_id: Option<String>,
pub essence_type: Option<String>,
pub amount: Option<u32>,
}Fields§
§type: Option<UpgradeType>§item_id: Option<String>§essence_type: Option<String>§amount: Option<u32>Trait Implementations§
Source§impl Clone for UpgradeCost
impl Clone for UpgradeCost
Source§fn clone(&self) -> UpgradeCost
fn clone(&self) -> UpgradeCost
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 UpgradeCost
impl Debug for UpgradeCost
Source§impl<'de> Deserialize<'de> for UpgradeCost
impl<'de> Deserialize<'de> for UpgradeCost
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 UpgradeCost
impl PartialEq for UpgradeCost
Source§impl Serialize for UpgradeCost
impl Serialize for UpgradeCost
impl StructuralPartialEq for UpgradeCost
Auto Trait Implementations§
impl Freeze for UpgradeCost
impl RefUnwindSafe for UpgradeCost
impl Send for UpgradeCost
impl Sync for UpgradeCost
impl Unpin for UpgradeCost
impl UnwindSafe for UpgradeCost
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