pub struct TemperatureRange {
pub highest_temperature: i8,
pub highest_sensor: u8,
pub lowest_temperature: i8,
pub lowest_sensor: u8,
}Expand description
Represents the range of temperatures (highest and lowest) measured by the BMS.
Fields§
§highest_temperature: i8Highest temperature in degrees Celsius.
highest_sensor: u8Sensor number that detected the highest temperature.
lowest_temperature: i8Lowest temperature in degrees Celsius.
lowest_sensor: u8Sensor number that detected the lowest temperature.
Implementations§
Trait Implementations§
Source§impl Clone for TemperatureRange
impl Clone for TemperatureRange
Source§fn clone(&self) -> TemperatureRange
fn clone(&self) -> TemperatureRange
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 TemperatureRange
impl Debug for TemperatureRange
Source§impl<'de> Deserialize<'de> for TemperatureRange
impl<'de> Deserialize<'de> for TemperatureRange
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 TemperatureRange
impl RefUnwindSafe for TemperatureRange
impl Send for TemperatureRange
impl Sync for TemperatureRange
impl Unpin for TemperatureRange
impl UnwindSafe for TemperatureRange
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