pub struct SetCellVoltageTimeoutStruct {
pub timeout: u16,
}Expand description
Set the under-voltage timeout
Fields§
§timeout: u16If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
Trait Implementations§
Source§impl Clone for SetCellVoltageTimeoutStruct
impl Clone for SetCellVoltageTimeoutStruct
Source§fn clone(&self) -> SetCellVoltageTimeoutStruct
fn clone(&self) -> SetCellVoltageTimeoutStruct
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 SetCellVoltageTimeoutStruct
impl Debug for SetCellVoltageTimeoutStruct
Source§impl Default for SetCellVoltageTimeoutStruct
impl Default for SetCellVoltageTimeoutStruct
Source§fn default() -> SetCellVoltageTimeoutStruct
fn default() -> SetCellVoltageTimeoutStruct
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetCellVoltageTimeoutStruct
impl<'de> Deserialize<'de> for SetCellVoltageTimeoutStruct
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 DeserializePayload for SetCellVoltageTimeoutStruct
impl DeserializePayload for SetCellVoltageTimeoutStruct
fn deserialize(payload: &[u8]) -> Self
impl StructuralPartialEq for SetCellVoltageTimeoutStruct
Auto Trait Implementations§
impl Freeze for SetCellVoltageTimeoutStruct
impl RefUnwindSafe for SetCellVoltageTimeoutStruct
impl Send for SetCellVoltageTimeoutStruct
impl Sync for SetCellVoltageTimeoutStruct
impl Unpin for SetCellVoltageTimeoutStruct
impl UnwindSafe for SetCellVoltageTimeoutStruct
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