pub struct Miner {
pub wallet: String,
pub architecture: Option<String>,
pub multiplier: Option<f64>,
pub active: Option<bool>,
pub last_seen: Option<String>,
pub total_earned: Option<f64>,
pub platform: Option<String>,
}Expand description
A single miner entry from the /api/miners endpoint.
Fields§
§wallet: StringMiner’s wallet identifier.
architecture: Option<String>Hardware architecture (e.g., “PowerPC G4”, “x86_64”).
multiplier: Option<f64>Antiquity multiplier (e.g., 2.5 for PowerPC G4).
active: Option<bool>Whether this miner is currently active.
last_seen: Option<String>Last attestation timestamp.
total_earned: Option<f64>Total RTC earned.
platform: Option<String>Hardware platform string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Miner
impl<'de> Deserialize<'de> for Miner
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 Miner
impl RefUnwindSafe for Miner
impl Send for Miner
impl Sync for Miner
impl Unpin for Miner
impl UnsafeUnpin for Miner
impl UnwindSafe for Miner
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