pub struct CoinbaseIntxInstrumentQuote {Show 13 fields
pub best_bid_price: Option<String>,
pub best_bid_size: Option<String>,
pub best_ask_price: Option<String>,
pub best_ask_size: Option<String>,
pub trade_price: Option<String>,
pub trade_qty: Option<String>,
pub index_price: Option<String>,
pub mark_price: String,
pub settlement_price: String,
pub limit_up: Option<String>,
pub limit_down: Option<String>,
pub predicted_funding: Option<String>,
pub timestamp: DateTime<Utc>,
}
Expand description
Represents a Coinbase International instrument quote.
Fields§
§best_bid_price: Option<String>
Best bid price.
best_bid_size: Option<String>
Best bid size.
best_ask_price: Option<String>
Best ask price.
best_ask_size: Option<String>
Best ask size.
trade_price: Option<String>
Last traded price.
trade_qty: Option<String>
Last traded quantity.
index_price: Option<String>
Index price.
mark_price: String
Mark price.
settlement_price: String
Settlement price.
limit_up: Option<String>
Upper price limit.
limit_down: Option<String>
Lower price limit.
predicted_funding: Option<String>
Predicted funding rate (optional; only provided for PERP instruments).
timestamp: DateTime<Utc>
Timestamp of the quote.
Trait Implementations§
Source§impl Clone for CoinbaseIntxInstrumentQuote
impl Clone for CoinbaseIntxInstrumentQuote
Source§fn clone(&self) -> CoinbaseIntxInstrumentQuote
fn clone(&self) -> CoinbaseIntxInstrumentQuote
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CoinbaseIntxInstrumentQuote
impl Debug for CoinbaseIntxInstrumentQuote
Source§impl<'de> Deserialize<'de> for CoinbaseIntxInstrumentQuote
impl<'de> Deserialize<'de> for CoinbaseIntxInstrumentQuote
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 CoinbaseIntxInstrumentQuote
impl RefUnwindSafe for CoinbaseIntxInstrumentQuote
impl Send for CoinbaseIntxInstrumentQuote
impl Sync for CoinbaseIntxInstrumentQuote
impl Unpin for CoinbaseIntxInstrumentQuote
impl UnwindSafe for CoinbaseIntxInstrumentQuote
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more