pub struct CellTimeoutStruct {
pub timeout: u16,
}Expand description
Get the undervoltage 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 CellTimeoutStruct
impl Clone for CellTimeoutStruct
Source§fn clone(&self) -> CellTimeoutStruct
fn clone(&self) -> CellTimeoutStruct
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 CellTimeoutStruct
impl Debug for CellTimeoutStruct
Source§impl Default for CellTimeoutStruct
impl Default for CellTimeoutStruct
Source§fn default() -> CellTimeoutStruct
fn default() -> CellTimeoutStruct
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CellTimeoutStruct
impl<'de> Deserialize<'de> for CellTimeoutStruct
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 CellTimeoutStruct
impl DeserializePayload for CellTimeoutStruct
fn deserialize(payload: &[u8]) -> Self
Source§impl PartialEq for CellTimeoutStruct
impl PartialEq for CellTimeoutStruct
Source§impl Serialize for CellTimeoutStruct
impl Serialize for CellTimeoutStruct
Source§impl SerializePayload for CellTimeoutStruct
impl SerializePayload for CellTimeoutStruct
impl StructuralPartialEq for CellTimeoutStruct
Auto Trait Implementations§
impl Freeze for CellTimeoutStruct
impl RefUnwindSafe for CellTimeoutStruct
impl Send for CellTimeoutStruct
impl Sync for CellTimeoutStruct
impl Unpin for CellTimeoutStruct
impl UnwindSafe for CellTimeoutStruct
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