pub struct IndexData {
pub btc: Option<f64>,
pub eth: Option<f64>,
pub usdc: Option<f64>,
pub usdt: Option<f64>,
pub eurr: Option<f64>,
pub edp: f64,
}Expand description
Index data
Fields§
§btc: Option<f64>BTC component (optional)
eth: Option<f64>ETH component (optional)
usdc: Option<f64>USDC component (optional)
usdt: Option<f64>USDT component (optional)
eurr: Option<f64>EURR component (optional)
edp: f64EDP (Estimated Delivery Price)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IndexData
impl<'de> Deserialize<'de> for IndexData
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 IndexData
impl RefUnwindSafe for IndexData
impl Send for IndexData
impl Sync for IndexData
impl Unpin for IndexData
impl UnwindSafe for IndexData
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