Struct datamaxi::models::TradeDetail
source · pub struct TradeDetail {
pub timestamp: String,
pub block_number: i64,
pub pool: String,
pub symbol: String,
pub transaction_hash: String,
pub maker: String,
pub trade_type: String,
pub base_quantity: String,
pub quote_quantity: String,
pub price: String,
}
Expand description
Detailed information about a trade.
Fields§
§timestamp: String
The timestamp of the trade.
block_number: i64
The block number in which the trade was recorded.
pool: String
The trading pool where the trade occurred.
symbol: String
The trading symbol associated with the trade (e.g., BTC-USDT).
transaction_hash: String
The hash of the transaction related to the trade.
maker: String
The maker of the trade (the party who placed the order).
trade_type: String
The type of trade (e.g., buy or sell).
base_quantity: String
The quantity of the base asset traded, in base unit.
quote_quantity: String
The quantity of the quote asset traded, in base unit.
price: String
The price of the trade in the quote asset’s unit.
Trait Implementations§
source§impl Debug for TradeDetail
impl Debug for TradeDetail
source§impl<'de> Deserialize<'de> for TradeDetail
impl<'de> Deserialize<'de> for TradeDetail
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 TradeDetail
impl RefUnwindSafe for TradeDetail
impl Send for TradeDetail
impl Sync for TradeDetail
impl Unpin for TradeDetail
impl UnwindSafe for TradeDetail
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