pub struct SetTemperatureMaxStruct {
pub limit: u16,
}Expand description
Set the maximum allowed battery temperature
Fields§
§limit: u16The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
Trait Implementations§
source§impl Clone for SetTemperatureMaxStruct
impl Clone for SetTemperatureMaxStruct
source§fn clone(&self) -> SetTemperatureMaxStruct
fn clone(&self) -> SetTemperatureMaxStruct
Returns a copy 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 SetTemperatureMaxStruct
impl Debug for SetTemperatureMaxStruct
source§impl Default for SetTemperatureMaxStruct
impl Default for SetTemperatureMaxStruct
source§fn default() -> SetTemperatureMaxStruct
fn default() -> SetTemperatureMaxStruct
Returns the “default value” for a type. Read more
source§impl DeserializePayload for SetTemperatureMaxStruct
impl DeserializePayload for SetTemperatureMaxStruct
fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetTemperatureMaxStruct
impl PartialEq for SetTemperatureMaxStruct
source§fn eq(&self, other: &SetTemperatureMaxStruct) -> bool
fn eq(&self, other: &SetTemperatureMaxStruct) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SetTemperatureMaxStruct
Auto Trait Implementations§
impl Freeze for SetTemperatureMaxStruct
impl RefUnwindSafe for SetTemperatureMaxStruct
impl Send for SetTemperatureMaxStruct
impl Sync for SetTemperatureMaxStruct
impl Unpin for SetTemperatureMaxStruct
impl UnwindSafe for SetTemperatureMaxStruct
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