pub struct ProfitTableRequest {
pub contract_type: Option<Vec<ContractTypeItem>>,
pub date_from: Option<String>,
pub date_to: Option<String>,
pub description: Option<Description>,
pub limit: Option<f64>,
pub loginid: Option<String>,
pub offset: Option<i64>,
pub passthrough: Option<Value>,
pub profit_table: Value,
pub req_id: Option<i64>,
pub sort: Option<Sort>,
}
Expand description
Retrieve a summary of account Profit Table, according to given search criteria
Fields§
§contract_type: Option<Vec<ContractTypeItem>>
Return only contracts of the specified types\n
date_from: Option<String>
[Optional] Start date (epoch or YYYY-MM-DD)\n
date_to: Option<String>
[Optional] End date (epoch or YYYY-MM-DD)\n
description: Option<Description>
[Optional] If set to 1, will return full contracts description.\n
limit: Option<f64>
[Optional] Apply upper limit to count of transactions received.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
offset: Option<i64>
[Optional] Number of transactions to skip.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
profit_table: Value
Field ‘profit_table’ mapped to Value due to complexity/potential issues.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
sort: Option<Sort>
[Optional] Sort direction.\n
Trait Implementations§
Source§impl Clone for ProfitTableRequest
impl Clone for ProfitTableRequest
Source§fn clone(&self) -> ProfitTableRequest
fn clone(&self) -> ProfitTableRequest
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 moreSource§impl Debug for ProfitTableRequest
impl Debug for ProfitTableRequest
Source§impl<'de> Deserialize<'de> for ProfitTableRequest
impl<'de> Deserialize<'de> for ProfitTableRequest
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 ProfitTableRequest
impl RefUnwindSafe for ProfitTableRequest
impl Send for ProfitTableRequest
impl Sync for ProfitTableRequest
impl Unpin for ProfitTableRequest
impl UnwindSafe for ProfitTableRequest
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