#[non_exhaustive]pub struct ConvertHistory {
pub trade_id: String,
pub cl_t_req_id: String,
pub state: ConvertTradeState,
pub inst_id: String,
pub base_ccy: String,
pub quote_ccy: String,
pub side: OrderSide,
pub fill_px: NumberString,
pub fill_base_sz: NumberString,
pub fill_quote_sz: NumberString,
pub ts: NumberString,
}Expand description
A historical Convert trade.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.trade_id: StringServer-assigned trade ID.
cl_t_req_id: StringClient-supplied trade request ID, when supplied.
state: ConvertTradeStateTrade execution state.
inst_id: StringCurrency pair, e.g. BTC-USDT.
base_ccy: StringBase currency, e.g. BTC in BTC-USDT.
quote_ccy: StringQuote currency, e.g. USDT in BTC-USDT.
side: OrderSideTrade side based on the base currency.
fill_px: NumberStringFilled price denominated in the quote currency.
fill_base_sz: NumberStringFilled amount of the base currency.
fill_quote_sz: NumberStringFilled amount of the quote currency.
ts: NumberStringConvert trade time as a Unix timestamp in milliseconds.
Trait Implementations§
Source§impl Clone for ConvertHistory
impl Clone for ConvertHistory
Source§fn clone(&self) -> ConvertHistory
fn clone(&self) -> ConvertHistory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConvertHistory
impl Debug for ConvertHistory
Source§impl<'de> Deserialize<'de> for ConvertHistory
impl<'de> Deserialize<'de> for ConvertHistory
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 ConvertHistory
impl RefUnwindSafe for ConvertHistory
impl Send for ConvertHistory
impl Sync for ConvertHistory
impl Unpin for ConvertHistory
impl UnsafeUnpin for ConvertHistory
impl UnwindSafe for ConvertHistory
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