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