#[non_exhaustive]pub enum SpikeStatus {
None,
Potential,
Spike,
}
Expand description
Spike status
Indicates whether this interval will potentially spike, or is currently in a spike state
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No spike expected or occurring
Potential
Spike may potentially occur during this interval
Spike
Spike is currently occurring during this interval
Trait Implementations§
Source§impl Clone for SpikeStatus
impl Clone for SpikeStatus
Source§fn clone(&self) -> SpikeStatus
fn clone(&self) -> SpikeStatus
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 SpikeStatus
impl Debug for SpikeStatus
Source§impl<'de> Deserialize<'de> for SpikeStatus
impl<'de> Deserialize<'de> for SpikeStatus
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 Display for SpikeStatus
impl Display for SpikeStatus
Source§impl PartialEq for SpikeStatus
impl PartialEq for SpikeStatus
impl Eq for SpikeStatus
impl StructuralPartialEq for SpikeStatus
Auto Trait Implementations§
impl Freeze for SpikeStatus
impl RefUnwindSafe for SpikeStatus
impl Send for SpikeStatus
impl Sync for SpikeStatus
impl Unpin for SpikeStatus
impl UnwindSafe for SpikeStatus
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