pub enum AlarmReason {
Show 13 variants
None,
LowVoltage,
HighVoltage,
LowSOC,
LowStarterVoltage,
HighStarterVoltage,
LowTemperature,
HighTemperature,
MidVoltage,
Overload,
DCripple,
LowVACout,
HighVACout,
}
Variants
None
LowVoltage
HighVoltage
LowSOC
LowStarterVoltage
HighStarterVoltage
LowTemperature
HighTemperature
MidVoltage
Overload
DCripple
LowVACout
HighVACout
Implementations
sourceimpl AlarmReason
impl AlarmReason
Trait Implementations
sourceimpl Clone for AlarmReason
impl Clone for AlarmReason
sourcefn clone(&self) -> AlarmReason
fn clone(&self) -> AlarmReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AlarmReason
impl Debug for AlarmReason
sourceimpl Default for AlarmReason
impl Default for AlarmReason
sourceimpl<'de> Deserialize<'de> for AlarmReason
impl<'de> Deserialize<'de> for AlarmReason
sourcefn 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
sourceimpl IntoEnumIterator for AlarmReason
impl IntoEnumIterator for AlarmReason
type Iterator = AlarmReasonIter
fn iter() -> AlarmReasonIterⓘNotable traits for AlarmReasonIterimpl Iterator for AlarmReasonIter type Item = AlarmReason;
sourceimpl PartialEq<AlarmReason> for AlarmReason
impl PartialEq<AlarmReason> for AlarmReason
sourcefn eq(&self, other: &AlarmReason) -> bool
fn eq(&self, other: &AlarmReason) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for AlarmReason
impl Serialize for AlarmReason
impl Copy for AlarmReason
impl Eq for AlarmReason
impl StructuralEq for AlarmReason
impl StructuralPartialEq for AlarmReason
Auto Trait Implementations
impl RefUnwindSafe for AlarmReason
impl Send for AlarmReason
impl Sync for AlarmReason
impl Unpin for AlarmReason
impl UnwindSafe for AlarmReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more