Skip to main content

bybit/models/
uta_update_status.rs

1use crate::prelude::*;
2
3/// Details the result of a UTA status update.
4///
5/// Part of the `UTAResponse`, this struct provides the updated unified margin status and any associated messages. Bots use this to confirm the account’s margin configuration.
6#[derive(Deserialize, Serialize, Clone, Debug)]
7#[serde(rename_all = "camelCase")]
8pub struct UTAUpdateStatus {
9    /// The unified margin update status.
10    ///
11    /// Indicates the new status of the unified margin setting (e.g., "Enabled"). Bots should verify this matches the requested configuration.
12    pub unified_update_status: String,
13
14    /// Additional messages related to the update.
15    ///
16    /// Contains any warnings or informational messages about the status change. Bots should log these for auditing and debugging.
17    pub unified_update_msg: UnifiedUpdateMsg,
18}