pub struct MiningRefinedEvent {
pub kind: Commodity,
pub type_localized: Option<String>,
}
Expand description
Fired when a commodity has been refined.
Fields§
§kind: Commodity
The kind of commodity that was refined.
type_localized: Option<String>
The localized name of the refined commodity.
Trait Implementations§
Source§impl Clone for MiningRefinedEvent
impl Clone for MiningRefinedEvent
Source§fn clone(&self) -> MiningRefinedEvent
fn clone(&self) -> MiningRefinedEvent
Returns a copy 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 MiningRefinedEvent
impl Debug for MiningRefinedEvent
Source§impl<'de> Deserialize<'de> for MiningRefinedEvent
impl<'de> Deserialize<'de> for MiningRefinedEvent
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 MiningRefinedEvent
impl PartialEq for MiningRefinedEvent
Source§impl Serialize for MiningRefinedEvent
impl Serialize for MiningRefinedEvent
impl StructuralPartialEq for MiningRefinedEvent
Auto Trait Implementations§
impl Freeze for MiningRefinedEvent
impl RefUnwindSafe for MiningRefinedEvent
impl Send for MiningRefinedEvent
impl Sync for MiningRefinedEvent
impl Unpin for MiningRefinedEvent
impl UnwindSafe for MiningRefinedEvent
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