pub struct Mineral {
pub base_object: BaseObject,
pub mineral_type: String,
pub mineral_amount: i32,
pub next_regeneration_time: Option<u64>,
}Expand description
Mineral 对象
Fields§
§base_object: BaseObject§mineral_type: String§mineral_amount: i32§next_regeneration_time: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mineral
impl<'de> Deserialize<'de> for Mineral
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 Mineral
impl RefUnwindSafe for Mineral
impl Send for Mineral
impl Sync for Mineral
impl Unpin for Mineral
impl UnwindSafe for Mineral
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