Struct helium_api::models::OraclePrediction [−][src]
Expand description
An oracle prediction is inferred from the current oracle price and submitted oracle price reports.
Fields
price: UsdThe oracle price at the indicated block in Usd millis
time: u64The epoch time when the price is expected to take hold
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for OraclePredictionimpl Send for OraclePredictionimpl Sync for OraclePredictionimpl Unpin for OraclePredictionimpl UnwindSafe for OraclePredictionBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more