pub struct MinerData {Show 29 fields
pub schema_version: String,
pub timestamp: u64,
pub ip: IpAddr,
pub mac: Option<MacAddr>,
pub device_info: DeviceInfo,
pub serial_number: Option<String>,
pub hostname: Option<String>,
pub api_version: Option<String>,
pub firmware_version: Option<String>,
pub control_board_version: Option<MinerControlBoard>,
pub expected_hashboards: Option<u8>,
pub hashboards: Vec<BoardData>,
pub hashrate: Option<HashRate>,
pub expected_hashrate: Option<HashRate>,
pub expected_chips: Option<u16>,
pub total_chips: Option<u16>,
pub expected_fans: Option<u8>,
pub fans: Vec<FanData>,
pub psu_fans: Vec<FanData>,
pub average_temperature: Option<Temperature>,
pub fluid_temperature: Option<Temperature>,
pub wattage: Option<Power>,
pub wattage_limit: Option<Power>,
pub efficiency: Option<f64>,
pub light_flashing: Option<bool>,
pub messages: Vec<MinerMessage>,
pub uptime: Option<Duration>,
pub is_mining: bool,
pub pools: Vec<PoolData>,
}Fields§
§schema_version: StringThe schema version of this MinerData object, for use in external APIs
timestamp: u64The time this data was gathered and constructed
ip: IpAddrThe IP address of the miner this data is for
mac: Option<MacAddr>The MAC address of the miner this data is for
device_info: DeviceInfoHardware information about this miner
serial_number: Option<String>The serial number of the miner, also known as the control board serial
hostname: Option<String>The network hostname of the miner
api_version: Option<String>The API version of the miner
firmware_version: Option<String>The firmware version of the miner
control_board_version: Option<MinerControlBoard>The type of control board on the miner
expected_hashboards: Option<u8>The expected number of boards in the miner.
hashboards: Vec<BoardData>Per-hashboard data for this miner
hashrate: Option<HashRate>The current hashrate of the miner
expected_hashrate: Option<HashRate>The expected hashrate of the miner
expected_chips: Option<u16>The total expected number of chips across all boards on this miner
total_chips: Option<u16>The total number of working chips across all boards on this miner
expected_fans: Option<u8>The expected number of fans on the miner
fans: Vec<FanData>The current fan information for the miner
psu_fans: Vec<FanData>The current PDU fan information for the miner
average_temperature: Option<Temperature>The average temperature across all chips in the miner
fluid_temperature: Option<Temperature>The environment temperature of the miner, such as air temperature or immersion fluid temperature
wattage: Option<Power>The current power consumption of the miner
wattage_limit: Option<Power>The current power limit or power target of the miner
efficiency: Option<f64>The current efficiency in W/TH/s (J/TH) of the miner
light_flashing: Option<bool>The state of the fault/alert light on the miner
messages: Vec<MinerMessage>Any message on the miner, including errors
uptime: Option<Duration>The total uptime of the miner’s system
is_mining: boolWhether the hashing process is currently running
pools: Vec<PoolData>The current pools configured on the miner