Skip to main content

bybit/models/
unified_update_msg.rs

1use crate::prelude::*;
2
3/// Contains messages related to a UTA status update.
4///
5/// Part of the `UTAUpdateStatus`, this struct holds a list of messages providing context for the unified margin update. Bots use this to diagnose issues or confirm successful configuration.
6#[derive(Deserialize, Serialize, Clone, Debug)]
7pub struct UnifiedUpdateMsg {
8    /// A list of update messages.
9    ///
10    /// Contains human-readable messages describing the update outcome or any warnings. Bots should log these for auditing and user feedback.
11    pub msg: Vec<String>,
12}