pub struct ChipData {
pub position: u16,
pub hashrate: Option<HashRate>,
pub temperature: Option<Temperature>,
pub voltage: Option<Voltage>,
pub frequency: Option<Frequency>,
pub tuned: Option<bool>,
pub working: Option<bool>,
}Fields§
§position: u16The position of the chip on the board, indexed from 0
hashrate: Option<HashRate>The current hashrate of the chip
temperature: Option<Temperature>The current chip temperature
voltage: Option<Voltage>The voltage set point for this chip
frequency: Option<Frequency>The frequency set point for this chip
tuned: Option<bool>Whether this chip is tuned and optimizations have completed
working: Option<bool>Whether this chip is working and actively mining
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChipData
impl<'de> Deserialize<'de> for ChipData
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
impl StructuralPartialEq for ChipData
Auto Trait Implementations§
impl Freeze for ChipData
impl RefUnwindSafe for ChipData
impl Send for ChipData
impl Sync for ChipData
impl Unpin for ChipData
impl UnwindSafe for ChipData
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