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: StringThe timestamp of the trade.
block_number: i64The block number in which the trade was recorded.
pool: StringThe trading pool where the trade occurred.
symbol: StringThe trading symbol associated with the trade (e.g., BTC-USDT).
transaction_hash: StringThe hash of the transaction related to the trade.
maker: StringThe maker of the trade (the party who placed the order).
trade_type: StringThe type of trade (e.g., buy or sell).
base_quantity: StringThe quantity of the base asset traded, in base unit.
quote_quantity: StringThe quantity of the quote asset traded, in base unit.
price: StringThe 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