pub struct BinanceOcoResponse {
pub order_list_id: i64,
pub contingency_type: SmartString,
pub list_status_type: SmartString,
pub list_order_status: SmartString,
pub list_client_order_id: SmartString,
pub transaction_time: u64,
pub symbol: SmartString,
pub orders: Vec<BinanceOrderInfo>,
pub order_reports: Vec<BinanceOrderResponse>,
}Expand description
OCO Order List response
Fields§
§order_list_id: i64Unique order list ID assigned by Binance
contingency_type: SmartStringType of contingency order (OCO)
list_status_type: SmartStringStatus type of the order list
list_order_status: SmartStringCurrent status of the order list
list_client_order_id: SmartStringClient-generated order list ID for tracking
transaction_time: u64Transaction timestamp from Binance
symbol: SmartStringTrading symbol for the OCO order
orders: Vec<BinanceOrderInfo>List of order information in the OCO
order_reports: Vec<BinanceOrderResponse>Detailed order reports for each order in the OCO
Trait Implementations§
Source§impl Clone for BinanceOcoResponse
impl Clone for BinanceOcoResponse
Source§fn clone(&self) -> BinanceOcoResponse
fn clone(&self) -> BinanceOcoResponse
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 BinanceOcoResponse
impl Debug for BinanceOcoResponse
Source§impl<'de> Deserialize<'de> for BinanceOcoResponse
impl<'de> Deserialize<'de> for BinanceOcoResponse
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 BinanceOcoResponse
impl RefUnwindSafe for BinanceOcoResponse
impl Send for BinanceOcoResponse
impl Sync for BinanceOcoResponse
impl Unpin for BinanceOcoResponse
impl UnwindSafe for BinanceOcoResponse
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