pub struct PositionsResponse {
pub positions: Vec<PositionItem>,
}Expand description
Response wrapper for GET /v1/accounts/:id/positions.
Fields§
§positions: Vec<PositionItem>Current open positions in the account.
Trait Implementations§
Source§impl Debug for PositionsResponse
impl Debug for PositionsResponse
Source§impl<'de> Deserialize<'de> for PositionsResponse
impl<'de> Deserialize<'de> for PositionsResponse
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 PositionsResponse
impl RefUnwindSafe for PositionsResponse
impl Send for PositionsResponse
impl Sync for PositionsResponse
impl Unpin for PositionsResponse
impl UnsafeUnpin for PositionsResponse
impl UnwindSafe for PositionsResponse
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