pub struct Product {Show 37 fields
pub product_id: Ustr,
pub price: String,
pub price_percentage_change_24h: String,
pub volume_24h: String,
pub volume_percentage_change_24h: String,
pub base_increment: String,
pub quote_increment: String,
pub quote_min_size: String,
pub quote_max_size: String,
pub base_min_size: String,
pub base_max_size: String,
pub base_name: String,
pub quote_name: String,
pub watched: bool,
pub is_disabled: bool,
pub new: bool,
pub status: CoinbaseProductStatus,
pub cancel_only: bool,
pub limit_only: bool,
pub post_only: bool,
pub trading_disabled: bool,
pub auction_mode: bool,
pub product_type: CoinbaseProductType,
pub quote_currency_id: Ustr,
pub base_currency_id: Ustr,
pub fcm_trading_session_details: Option<FcmTradingSessionDetails>,
pub mid_market_price: String,
pub alias: Ustr,
pub alias_to: Vec<Ustr>,
pub base_display_symbol: Ustr,
pub quote_display_symbol: Ustr,
pub view_only: bool,
pub price_increment: String,
pub display_name: String,
pub product_venue: Option<CoinbaseProductVenue>,
pub approximate_quote_24h_volume: String,
pub future_product_details: Option<FutureProductDetails>,
}Expand description
Coinbase product (trading pair).
Fields§
§product_id: Ustr§price: String§price_percentage_change_24h: String§volume_24h: String§volume_percentage_change_24h: String§base_increment: String§quote_increment: String§quote_min_size: String§quote_max_size: String§base_min_size: String§base_max_size: String§base_name: String§quote_name: String§watched: bool§is_disabled: bool§new: bool§status: CoinbaseProductStatus§cancel_only: bool§limit_only: bool§post_only: bool§trading_disabled: bool§auction_mode: bool§product_type: CoinbaseProductType§quote_currency_id: Ustr§base_currency_id: Ustr§fcm_trading_session_details: Option<FcmTradingSessionDetails>§mid_market_price: String§alias: Ustr§alias_to: Vec<Ustr>§base_display_symbol: Ustr§quote_display_symbol: Ustr§view_only: bool§price_increment: String§display_name: String§product_venue: Option<CoinbaseProductVenue>§approximate_quote_24h_volume: String§future_product_details: Option<FutureProductDetails>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Product
impl<'de> Deserialize<'de> for Product
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 Product
impl RefUnwindSafe for Product
impl Send for Product
impl Sync for Product
impl Unpin for Product
impl UnsafeUnpin for Product
impl UnwindSafe for Product
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