pub struct TradeResponse<T> {
pub data: T,
pub ret_ext_info: Option<RetExtInfo>,
pub header: Option<TradeReplyHeader>,
}Expand description
A successful reply of the order entry stream.
An accepted request only means Bybit took it: the order stream
(Topic::Order*) confirms the order status.
Fields§
§data: TSame as result of the REST endpoint.
ret_ext_info: Option<RetExtInfo>Per-item results of batch requests, in request order.
header: Option<TradeReplyHeader>Rate limit status of the op.
Trait Implementations§
Source§impl<T: Clone> Clone for TradeResponse<T>
impl<T: Clone> Clone for TradeResponse<T>
Source§impl<T: Debug> Debug for TradeResponse<T>
impl<T: Debug> Debug for TradeResponse<T>
Source§impl<T: PartialEq> PartialEq for TradeResponse<T>
impl<T: PartialEq> PartialEq for TradeResponse<T>
impl<T: PartialEq> StructuralPartialEq for TradeResponse<T>
Auto Trait Implementations§
impl<T> Freeze for TradeResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for TradeResponse<T>where
T: RefUnwindSafe,
impl<T> Send for TradeResponse<T>where
T: Send,
impl<T> Sync for TradeResponse<T>where
T: Sync,
impl<T> Unpin for TradeResponse<T>where
T: Unpin,
impl<T> UnsafeUnpin for TradeResponse<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TradeResponse<T>where
T: UnwindSafe,
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