pub enum MineQueryMsg {
Config {},
WindowStatus {},
Stats {},
MinerStats {
address: String,
},
CalculateReward {
difficulty_bits: u32,
},
EmissionInfo {},
}Variants§
Trait Implementations§
Source§impl Clone for MineQueryMsg
impl Clone for MineQueryMsg
Source§fn clone(&self) -> MineQueryMsg
fn clone(&self) -> MineQueryMsg
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 MineQueryMsg
impl Debug for MineQueryMsg
Source§impl<'de> Deserialize<'de> for MineQueryMsg
impl<'de> Deserialize<'de> for MineQueryMsg
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 MineQueryMsg
impl RefUnwindSafe for MineQueryMsg
impl Send for MineQueryMsg
impl Sync for MineQueryMsg
impl Unpin for MineQueryMsg
impl UnsafeUnpin for MineQueryMsg
impl UnwindSafe for MineQueryMsg
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