pub struct NewOrderResponse {Show 25 fields
pub client_order_id: String,
pub cum_qty: String,
pub cum_quote: String,
pub executed_qty: String,
pub order_id: usize,
pub avg_price: String,
pub orig_qty: String,
pub price: String,
pub reduce_only: bool,
pub side: String,
pub position_side: String,
pub status: String,
pub stop_price: String,
pub close_position: bool,
pub symbol: String,
pub time_in_force: String,
pub type: String,
pub orig_type: String,
pub activate_price: Option<String>,
pub price_rate: Option<String>,
pub update_time: usize,
pub working_type: String,
pub price_protect: bool,
pub self_trade_prevention_mode: String,
pub good_till_date: usize,
}
Fields§
§client_order_id: String
§cum_qty: String
§cum_quote: String
§executed_qty: String
§order_id: usize
§avg_price: String
§orig_qty: String
§price: String
§reduce_only: bool
§side: String
§position_side: String
§status: String
§stop_price: String
§close_position: bool
§symbol: String
§time_in_force: String
§type: String
§orig_type: String
§activate_price: Option<String>
§price_rate: Option<String>
§update_time: usize
§working_type: String
§price_protect: bool
§self_trade_prevention_mode: String
§good_till_date: usize
Trait Implementations§
Source§impl Clone for NewOrderResponse
impl Clone for NewOrderResponse
Source§fn clone(&self) -> NewOrderResponse
fn clone(&self) -> NewOrderResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NewOrderResponse
impl Debug for NewOrderResponse
Source§impl<'de> Deserialize<'de> for NewOrderResponse
impl<'de> Deserialize<'de> for NewOrderResponse
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 NewOrderResponse
impl RefUnwindSafe for NewOrderResponse
impl Send for NewOrderResponse
impl Sync for NewOrderResponse
impl Unpin for NewOrderResponse
impl UnwindSafe for NewOrderResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)