Struct datamaxi::models::TradeResponse
source · pub struct TradeResponse {
pub data: Vec<TradeDetail>,
pub page: i32,
pub limit: i32,
pub from: String,
pub to: String,
pub sort: String,
}
Expand description
Response containing trade data.
Fields§
§data: Vec<TradeDetail>
A vector containing detailed information about each trade.
page: i32
The current page number in the paginated response.
limit: i32
The maximum number of items per page in the response.
from: String
The starting point of the time frame for the trade data.
to: String
The ending point of the time frame for the trade data.
sort: String
The sorting order for the trade data (e.g., “asc” or “desc”).
Trait Implementations§
source§impl Debug for TradeResponse
impl Debug for TradeResponse
source§impl<'de> Deserialize<'de> for TradeResponse
impl<'de> Deserialize<'de> for TradeResponse
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 TradeResponse
impl RefUnwindSafe for TradeResponse
impl Send for TradeResponse
impl Sync for TradeResponse
impl Unpin for TradeResponse
impl UnwindSafe for TradeResponse
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