#[non_exhaustive]pub enum PriceDescriptor {
Negative,
ExtremelyLow,
VeryLow,
Low,
Neutral,
High,
Spike,
}
Expand description
Describes the current price.
Gives you an indication of how cheap the price is in relation to the average VMO and DMO. Note: Negative is no longer used. It has been replaced with extremelyLow.
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.
Negative
👎Deprecated: Negative pricing is no longer used. Use
ExtremelyLow
instead.Negative pricing (deprecated - replaced with ExtremelyLow
)
ExtremelyLow
Extremely low pricing - significant cost savings opportunity
VeryLow
Very low pricing - good cost savings opportunity
Low
Low pricing - some cost savings available
Neutral
Neutral pricing - average market conditions
High
High pricing - costs above average
Spike
Spike pricing - very high costs, avoid high usage
Trait Implementations§
Source§impl Clone for PriceDescriptor
impl Clone for PriceDescriptor
Source§fn clone(&self) -> PriceDescriptor
fn clone(&self) -> PriceDescriptor
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 PriceDescriptor
impl Debug for PriceDescriptor
Source§impl<'de> Deserialize<'de> for PriceDescriptor
impl<'de> Deserialize<'de> for PriceDescriptor
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 PriceDescriptor
impl Display for PriceDescriptor
Source§impl PartialEq for PriceDescriptor
impl PartialEq for PriceDescriptor
impl Eq for PriceDescriptor
impl StructuralPartialEq for PriceDescriptor
Auto Trait Implementations§
impl Freeze for PriceDescriptor
impl RefUnwindSafe for PriceDescriptor
impl Send for PriceDescriptor
impl Sync for PriceDescriptor
impl Unpin for PriceDescriptor
impl UnwindSafe for PriceDescriptor
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