pub struct OpenPositionsResponse {
pub positions: Option<Vec<Position>>,
pub last_transaction_id: Option<String>,
}Fields§
§positions: Option<Vec<Position>>The list of open Positions in the Account.
last_transaction_id: Option<String>The ID of the most recent Transaction created for the Account
Implementations§
Source§impl OpenPositionsResponse
impl OpenPositionsResponse
pub fn new() -> OpenPositionsResponse
Trait Implementations§
Source§impl Clone for OpenPositionsResponse
impl Clone for OpenPositionsResponse
Source§fn clone(&self) -> OpenPositionsResponse
fn clone(&self) -> OpenPositionsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpenPositionsResponse
impl Debug for OpenPositionsResponse
Source§impl Default for OpenPositionsResponse
impl Default for OpenPositionsResponse
Source§fn default() -> OpenPositionsResponse
fn default() -> OpenPositionsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenPositionsResponse
impl<'de> Deserialize<'de> for OpenPositionsResponse
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 OpenPositionsResponse
impl PartialEq for OpenPositionsResponse
Source§impl Serialize for OpenPositionsResponse
impl Serialize for OpenPositionsResponse
impl StructuralPartialEq for OpenPositionsResponse
Auto Trait Implementations§
impl Freeze for OpenPositionsResponse
impl RefUnwindSafe for OpenPositionsResponse
impl Send for OpenPositionsResponse
impl Sync for OpenPositionsResponse
impl Unpin for OpenPositionsResponse
impl UnsafeUnpin for OpenPositionsResponse
impl UnwindSafe for OpenPositionsResponse
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