pub struct IndexPrices {
pub btc_usd: Option<f64>,
pub btc_usdc: Option<f64>,
pub eth_usd: Option<f64>,
pub eth_usdc: Option<f64>,
}Expand description
Index prices in Block RFQ trade
Fields§
§btc_usd: Option<f64>BTC/USD index price
btc_usdc: Option<f64>BTC/USDC index price
eth_usd: Option<f64>ETH/USD index price
eth_usdc: Option<f64>ETH/USDC index price
Trait Implementations§
Source§impl Clone for IndexPrices
impl Clone for IndexPrices
Source§fn clone(&self) -> IndexPrices
fn clone(&self) -> IndexPrices
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 IndexPrices
impl Debug for IndexPrices
Source§impl<'de> Deserialize<'de> for IndexPrices
impl<'de> Deserialize<'de> for IndexPrices
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 PartialEq for IndexPrices
impl PartialEq for IndexPrices
Source§impl Serialize for IndexPrices
impl Serialize for IndexPrices
impl StructuralPartialEq for IndexPrices
Auto Trait Implementations§
impl Freeze for IndexPrices
impl RefUnwindSafe for IndexPrices
impl Send for IndexPrices
impl Sync for IndexPrices
impl Unpin for IndexPrices
impl UnsafeUnpin for IndexPrices
impl UnwindSafe for IndexPrices
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