Skip to main content

bybit/models/
empty.rs

1use crate::prelude::*;
2
3/// An empty struct used as a placeholder for API responses where no additional data is returned.
4///
5/// This is commonly used in Bybit API responses for fields like `ret_ext_info` where the API may return an empty object (`{}`) to maintain a consistent response structure. For trading bots, this struct is typically ignored unless you need to verify the presence of an empty object for error handling or response validation.
6#[derive(Serialize, Default, Deserialize, Clone, Debug)]
7pub struct Empty {}