pub struct ListOpenPositionsResponse {
pub positions: Option<Vec<Position>>,
pub last_transaction_id: Option<TransactionID>,
}Expand description
Successful response for list_open_positions.
Fields§
§positions: Option<Vec<Position>>The list of open Positions in the Account.
last_transaction_id: Option<TransactionID>The ID of the most recent Transaction created for the Account
Trait Implementations§
Source§impl Clone for ListOpenPositionsResponse
impl Clone for ListOpenPositionsResponse
Source§impl Debug for ListOpenPositionsResponse
impl Debug for ListOpenPositionsResponse
Source§impl<'de> Deserialize<'de> for ListOpenPositionsResponse
impl<'de> Deserialize<'de> for ListOpenPositionsResponse
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
impl StructuralPartialEq for ListOpenPositionsResponse
Auto Trait Implementations§
impl Freeze for ListOpenPositionsResponse
impl RefUnwindSafe for ListOpenPositionsResponse
impl Send for ListOpenPositionsResponse
impl Sync for ListOpenPositionsResponse
impl Unpin for ListOpenPositionsResponse
impl UnsafeUnpin for ListOpenPositionsResponse
impl UnwindSafe for ListOpenPositionsResponse
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