pub struct GetOrdersParams {
pub page_size: u8,
pub page_cursor: Option<String>,
pub order: Option<String>,
pub account_id: Option<Vec<String>>,
pub provider_id: Option<Vec<String>>,
pub statuses: Option<Vec<OrderStatus>>,
pub start_time: Option<u32>,
pub end_time: Option<u32>,
pub asset_conversion_type: Option<String>,
}Expand description
struct for passing parameters to the method TradingBetaApi::get_orders
Fields§
§page_size: u8pageSize for pagination.
page_cursor: Option<String>§order: Option<String>ASC / DESC ordering (default DESC)
account_id: Option<Vec<String>>Filter by accountId.
provider_id: Option<Vec<String>>Filter by providerId.
statuses: Option<Vec<OrderStatus>>Filter by order status.
start_time: Option<u32>§end_time: Option<u32>§asset_conversion_type: Option<String>Implementations§
Source§impl GetOrdersParams
impl GetOrdersParams
Sourcepub fn builder() -> GetOrdersParamsBuilder
pub fn builder() -> GetOrdersParamsBuilder
Create an instance of GetOrdersParams using the builder syntax
Trait Implementations§
Source§impl Clone for GetOrdersParams
impl Clone for GetOrdersParams
Source§fn clone(&self) -> GetOrdersParams
fn clone(&self) -> GetOrdersParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GetOrdersParams
impl RefUnwindSafe for GetOrdersParams
impl Send for GetOrdersParams
impl Sync for GetOrdersParams
impl Unpin for GetOrdersParams
impl UnwindSafe for GetOrdersParams
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