pub struct CoinbaseOrder {Show 27 fields
pub order_id: SmartString,
pub product_id: SmartString,
pub user_id: SmartString,
pub order_configuration: CoinbaseOrderConfiguration,
pub side: SmartString,
pub client_order_id: SmartString,
pub status: SmartString,
pub time_in_force: SmartString,
pub created_time: SmartString,
pub completion_percentage: SmartString,
pub filled_size: SmartString,
pub average_filled_price: SmartString,
pub fee: SmartString,
pub number_of_fills: SmartString,
pub filled_value: SmartString,
pub pending_cancel: bool,
pub size_in_quote: bool,
pub total_fees: SmartString,
pub size_inclusive_of_fees: bool,
pub total_value_after_fees: SmartString,
pub trigger_status: SmartString,
pub order_type: SmartString,
pub reject_reason: SmartString,
pub settled: bool,
pub product_type: SmartString,
pub reject_message: SmartString,
pub cancel_message: SmartString,
}Expand description
Order information from Coinbase
Fields§
§order_id: SmartStringUnique identifier for the order
product_id: SmartStringProduct identifier for the trading pair (e.g., “BTC-USD”)
user_id: SmartStringUser identifier who placed the order
order_configuration: CoinbaseOrderConfigurationOrder configuration containing type-specific details
side: SmartStringOrder side: “BUY” or “SELL”
client_order_id: SmartStringClient-provided order identifier
status: SmartStringCurrent status of the order
time_in_force: SmartStringTime in force for the order (e.g., “GTC”, “IOC”)
created_time: SmartStringISO 8601 timestamp when the order was created
completion_percentage: SmartStringPercentage of the order that has been filled
filled_size: SmartStringAmount of the order that has been filled
average_filled_price: SmartStringAverage price at which the order was filled
fee: SmartStringFee charged for the order
number_of_fills: SmartStringNumber of individual fills for this order
filled_value: SmartStringTotal value of filled portion
pending_cancel: boolWhether the order has a pending cancel request
size_in_quote: boolWhether the order size is specified in quote currency
total_fees: SmartStringTotal fees charged for the order
size_inclusive_of_fees: boolWhether the order size includes fees
total_value_after_fees: SmartStringTotal value after fees have been deducted
trigger_status: SmartStringStatus of trigger conditions for conditional orders
order_type: SmartStringType of the order (e.g., “market”, “limit”)
reject_reason: SmartStringReason for order rejection (if applicable)
settled: boolWhether the order has been settled
product_type: SmartStringType of the product being traded
reject_message: SmartStringDetailed rejection message (if applicable)
cancel_message: SmartStringMessage explaining order cancellation (if applicable)
Trait Implementations§
Source§impl Clone for CoinbaseOrder
impl Clone for CoinbaseOrder
Source§fn clone(&self) -> CoinbaseOrder
fn clone(&self) -> CoinbaseOrder
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read more