Enum RiskStopState
pub enum RiskStopState {
Normal,
SoftThrottle,
DailyHardStop,
MonthlyStop,
PermanentShutdown,
}Variants§
Trait Implementations§
§impl Clone for RiskStopState
impl Clone for RiskStopState
§fn clone(&self) -> RiskStopState
fn clone(&self) -> RiskStopState
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl<'de> Deserialize<'de> for RiskStopState
impl<'de> Deserialize<'de> for RiskStopState
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RiskStopState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RiskStopState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Hash for RiskStopState
impl Hash for RiskStopState
§impl PartialEq for RiskStopState
impl PartialEq for RiskStopState
§impl Serialize for RiskStopState
impl Serialize for RiskStopState
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for RiskStopState
impl Eq for RiskStopState
impl StructuralPartialEq for RiskStopState
Auto Trait Implementations§
impl Freeze for RiskStopState
impl RefUnwindSafe for RiskStopState
impl Send for RiskStopState
impl Sync for RiskStopState
impl Unpin for RiskStopState
impl UnsafeUnpin for RiskStopState
impl UnwindSafe for RiskStopState
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)