pub struct TradeHistoryResponse {
pub ret_code: i32,
pub ret_msg: String,
pub result: TradeHistoryResult,
pub ext_info: Option<FxHashMap<String, OwnedValue>>,
pub time_now: String,
}Expand description
Bybit REST API trade response
Fields§
§ret_code: i32Return code (0 for success)
ret_msg: StringReturn message
result: TradeHistoryResultTrade history result data
ext_info: Option<FxHashMap<String, OwnedValue>>Extended information (optional)
time_now: StringCurrent server time
Trait Implementations§
Source§impl Clone for TradeHistoryResponse
impl Clone for TradeHistoryResponse
Source§fn clone(&self) -> TradeHistoryResponse
fn clone(&self) -> TradeHistoryResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TradeHistoryResponse
impl Debug for TradeHistoryResponse
Source§impl<'de> Deserialize<'de> for TradeHistoryResponse
impl<'de> Deserialize<'de> for TradeHistoryResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TradeHistoryResponse
impl RefUnwindSafe for TradeHistoryResponse
impl Send for TradeHistoryResponse
impl Sync for TradeHistoryResponse
impl Unpin for TradeHistoryResponse
impl UnwindSafe for TradeHistoryResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more