pub struct MinerTelemetry {
pub make: Option<String>,
pub model: Option<String>,
pub firmware_version: Option<String>,
pub reported_hashrate_hs: Option<f64>,
pub power_consumption_w: Option<f64>,
pub efficiency_j_per_th: Option<f64>,
pub average_temperature_c: Option<f64>,
pub uptime_secs: Option<u64>,
pub is_mining: Option<bool>,
}Expand description
Telemetry reported by the miner’s management interface.
Fields§
§make: Option<String>Miner manufacturer or brand reported by the management interface.
model: Option<String>Miner model reported by the management interface.
firmware_version: Option<String>Firmware version reported by the miner, when exposed.
reported_hashrate_hs: Option<f64>Miner-reported hashrate in hashes per second.
power_consumption_w: Option<f64>Current miner power consumption in watts.
efficiency_j_per_th: Option<f64>Miner efficiency in joules per terahash.
average_temperature_c: Option<f64>Average miner temperature in degrees Celsius.
uptime_secs: Option<u64>Total miner system uptime in seconds.
is_mining: Option<bool>Whether the miner reports that hashing is currently running.
Trait Implementations§
Source§impl Clone for MinerTelemetry
impl Clone for MinerTelemetry
Source§fn clone(&self) -> MinerTelemetry
fn clone(&self) -> MinerTelemetry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for MinerTelemetry
impl ComposeSchema for MinerTelemetry
Source§impl Debug for MinerTelemetry
impl Debug for MinerTelemetry
Source§impl<'de> Deserialize<'de> for MinerTelemetry
impl<'de> Deserialize<'de> for MinerTelemetry
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 From<MinerData> for MinerTelemetry
impl From<MinerData> for MinerTelemetry
Source§impl Serialize for MinerTelemetry
impl Serialize for MinerTelemetry
Auto Trait Implementations§
impl Freeze for MinerTelemetry
impl RefUnwindSafe for MinerTelemetry
impl Send for MinerTelemetry
impl Sync for MinerTelemetry
impl Unpin for MinerTelemetry
impl UnsafeUnpin for MinerTelemetry
impl UnwindSafe for MinerTelemetry
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