bybit/models/
order_confirmation_list.rs

1use crate::prelude::*;
2
3/// Summarizes the confirmation status of batched orders.
4///
5/// Part of the `BatchPlaceResponse`, this struct contains confirmation details for each order in the batch, including success or failure statuses. Bots use this to handle errors for individual orders.
6#[derive(Serialize, Deserialize, Clone, Debug, Default)]
7#[serde(rename_all = "camelCase")]
8pub struct OrderConfirmationList {
9    /// A list of order confirmations.
10    ///
11    /// Contains the status (success or failure) for each order in the batch. Bots should inspect this to identify and handle failed orders.
12    pub list: Vec<OrderConfirmation>,
13}