pub struct GetPnlRequest {}Expand description
Returns updated profit and loss values for the selected account. Initial request will return an empty array in the upnl object.
Implementations§
Source§impl GetPnlRequest
impl GetPnlRequest
Sourcepub async fn parse_response(req: Response) -> Result<GetPnlResponse>
pub async fn parse_response(req: Response) -> Result<GetPnlResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for GetPnlRequest
impl Clone for GetPnlRequest
Source§fn clone(&self) -> GetPnlRequest
fn clone(&self) -> GetPnlRequest
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 GetPnlRequest
impl Debug for GetPnlRequest
Source§impl Default for GetPnlRequest
impl Default for GetPnlRequest
Source§impl Validate for GetPnlRequest
impl Validate for GetPnlRequest
Source§impl<'v_a> ValidateArgs<'v_a> for GetPnlRequest
impl<'v_a> ValidateArgs<'v_a> for GetPnlRequest
Auto Trait Implementations§
impl Freeze for GetPnlRequest
impl RefUnwindSafe for GetPnlRequest
impl Send for GetPnlRequest
impl Sync for GetPnlRequest
impl Unpin for GetPnlRequest
impl UnsafeUnpin for GetPnlRequest
impl UnwindSafe for GetPnlRequest
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