pub struct CoinbaseProduct {Show 26 fields
pub product_id: SmartString,
pub price: SmartString,
pub price_percentage_change_24h: SmartString,
pub volume_24h: SmartString,
pub volume_percentage_change_24h: SmartString,
pub base_increment: SmartString,
pub quote_increment: SmartString,
pub quote_min_size: SmartString,
pub quote_max_size: SmartString,
pub base_min_size: SmartString,
pub base_max_size: SmartString,
pub base_name: SmartString,
pub quote_name: SmartString,
pub watched: bool,
pub is_disabled: bool,
pub new: bool,
pub status: SmartString,
pub cancel_only: bool,
pub limit_only: bool,
pub post_only: bool,
pub trading_disabled: bool,
pub auction_mode: bool,
pub product_type: SmartString,
pub quote_currency_id: SmartString,
pub base_currency_id: SmartString,
pub mid_market_price: SmartString,
}Expand description
Product information
Fields§
§product_id: SmartStringUnique identifier for the trading product (e.g., “BTC-USD”)
price: SmartStringCurrent price of the product
price_percentage_change_24h: SmartStringPrice percentage change in the last 24 hours
volume_24h: SmartStringTotal volume traded in the last 24 hours
volume_percentage_change_24h: SmartStringVolume percentage change in the last 24 hours
base_increment: SmartStringMinimum increment for base currency orders
quote_increment: SmartStringMinimum increment for quote currency orders
quote_min_size: SmartStringMinimum order size in quote currency
quote_max_size: SmartStringMaximum order size in quote currency
base_min_size: SmartStringMinimum order size in base currency
base_max_size: SmartStringMaximum order size in base currency
base_name: SmartStringDisplay name for the base currency
quote_name: SmartStringDisplay name for the quote currency
watched: boolWhether the product is being watched
is_disabled: boolWhether trading is disabled for this product
new: boolWhether this is a new product
status: SmartStringCurrent status of the product
cancel_only: boolWhether only cancel operations are allowed
limit_only: boolWhether only limit orders are allowed
post_only: boolWhether only post-only orders are allowed
trading_disabled: boolWhether trading is disabled
auction_mode: boolWhether the product is in auction mode
product_type: SmartStringType of the product (e.g., “SPOT”)
quote_currency_id: SmartStringUnique identifier for the quote currency
base_currency_id: SmartStringUnique identifier for the base currency
mid_market_price: SmartStringMid-market price between best bid and ask
Trait Implementations§
Source§impl Clone for CoinbaseProduct
impl Clone for CoinbaseProduct
Source§fn clone(&self) -> CoinbaseProduct
fn clone(&self) -> CoinbaseProduct
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read more