pub struct OraclePriceData {
pub market_address: Option<String>,
pub market_slug: String,
pub timestamp: i64,
pub value: f64,
}Expand description
Oracle price data for a market.
Fields§
§market_address: Option<String>§market_slug: String§timestamp: i64§value: f64Trait Implementations§
Source§impl Clone for OraclePriceData
impl Clone for OraclePriceData
Source§fn clone(&self) -> OraclePriceData
fn clone(&self) -> OraclePriceData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OraclePriceData
impl Debug for OraclePriceData
Source§impl<'de> Deserialize<'de> for OraclePriceData
impl<'de> Deserialize<'de> for OraclePriceData
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
Auto Trait Implementations§
impl Freeze for OraclePriceData
impl RefUnwindSafe for OraclePriceData
impl Send for OraclePriceData
impl Sync for OraclePriceData
impl Unpin for OraclePriceData
impl UnsafeUnpin for OraclePriceData
impl UnwindSafe for OraclePriceData
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