pub enum GetPnlResponse {
Ok(PnlPartitionedResponse),
BadRequest,
Unauthorized,
ServiceUnavailable,
Unknown,
}Expand description
Response types for getPnl
Variants§
Ok(PnlPartitionedResponse)
200: Refers to “updated PnL”. Holds a json object of key-value paired pnl details.
BadRequest
400: bad request; passed input cannot pass initial validation and detected right away
401: Invalid or expired access token
503: service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for GetPnlResponse
impl Clone for GetPnlResponse
Source§fn clone(&self) -> GetPnlResponse
fn clone(&self) -> GetPnlResponse
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 GetPnlResponse
impl RefUnwindSafe for GetPnlResponse
impl Send for GetPnlResponse
impl Sync for GetPnlResponse
impl Unpin for GetPnlResponse
impl UnsafeUnpin for GetPnlResponse
impl UnwindSafe for GetPnlResponse
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