pub struct GetClosedPnlParams {
pub category: Category,
pub symbol: Option<String>,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Expand description
Parameters for getting closed PnL.
Fields§
§category: CategoryProduct category.
symbol: Option<String>Trading symbol.
start_time: Option<u64>Start time (ms).
end_time: Option<u64>End time (ms).
limit: Option<u32>Limit.
cursor: Option<String>Cursor.
Implementations§
Source§impl GetClosedPnlParams
impl GetClosedPnlParams
Sourcepub fn start_time(self, start: u64) -> Self
pub fn start_time(self, start: u64) -> Self
Set start time.
Trait Implementations§
Source§impl Clone for GetClosedPnlParams
impl Clone for GetClosedPnlParams
Source§fn clone(&self) -> GetClosedPnlParams
fn clone(&self) -> GetClosedPnlParams
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 GetClosedPnlParams
impl Debug for GetClosedPnlParams
Auto Trait Implementations§
impl Freeze for GetClosedPnlParams
impl RefUnwindSafe for GetClosedPnlParams
impl Send for GetClosedPnlParams
impl Sync for GetClosedPnlParams
impl Unpin for GetClosedPnlParams
impl UnwindSafe for GetClosedPnlParams
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