#[non_exhaustive]pub struct AdvancedPrice {
pub low: f64,
pub predicted: f64,
pub high: f64,
}
Expand description
Advanced price prediction
Amber has created an advanced forecast system, that represents Amber’s confidence in the AEMO forecast. The range indicates where Amber thinks the price will land for a given interval.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.low: f64
The lower bound of Amber’s prediction band. Price includes network and market fees. (c/kWh).
predicted: f64
The predicted price. Use this if you need a single number to forecast against. Price includes network and market fees. (c/kWh).
high: f64
The upper bound of Amber’s prediction band. Price includes network and market fees. (c/kWh).
Trait Implementations§
Source§impl Clone for AdvancedPrice
impl Clone for AdvancedPrice
Source§fn clone(&self) -> AdvancedPrice
fn clone(&self) -> AdvancedPrice
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 AdvancedPrice
impl Debug for AdvancedPrice
Source§impl<'de> Deserialize<'de> for AdvancedPrice
impl<'de> Deserialize<'de> for AdvancedPrice
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 AdvancedPrice
impl Display for AdvancedPrice
Source§impl PartialEq for AdvancedPrice
impl PartialEq for AdvancedPrice
impl StructuralPartialEq for AdvancedPrice
Auto Trait Implementations§
impl Freeze for AdvancedPrice
impl RefUnwindSafe for AdvancedPrice
impl Send for AdvancedPrice
impl Sync for AdvancedPrice
impl Unpin for AdvancedPrice
impl UnwindSafe for AdvancedPrice
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