Struct datamaxi::models::TradeOptions
source · pub struct TradeOptions {
pub page: Option<i32>,
pub limit: Option<i32>,
pub from: Option<String>,
pub to: Option<String>,
pub sort: Option<String>,
}
Expand description
Optional parameters for a trade request.
Fields§
§page: Option<i32>
The page number for the trade query.
limit: Option<i32>
The maximum number of items per page in the response.
from: Option<String>
The starting date for the trade query.
to: Option<String>
The ending date for the trade query.
sort: Option<String>
The sorting order for the trade query (e.g., “asc” or “desc”).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TradeOptions
impl RefUnwindSafe for TradeOptions
impl Send for TradeOptions
impl Sync for TradeOptions
impl Unpin for TradeOptions
impl UnwindSafe for TradeOptions
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