pub struct KOOpenPositions {
pub positions: HashMap<String, KOPositionInfo>,
}Expand description
Response from the Get Open Positions endpoint
Fields§
§positions: HashMap<String, KOPositionInfo>Map with the position’s transaction ID as the key and the open position info as the value
Trait Implementations§
Source§impl Debug for KOOpenPositions
impl Debug for KOOpenPositions
Source§impl<'de> Deserialize<'de> for KOOpenPositions
impl<'de> Deserialize<'de> for KOOpenPositions
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 Serialize for KOOpenPositions
impl Serialize for KOOpenPositions
impl Output for KOOpenPositions
Auto Trait Implementations§
impl Freeze for KOOpenPositions
impl RefUnwindSafe for KOOpenPositions
impl Send for KOOpenPositions
impl Sync for KOOpenPositions
impl Unpin for KOOpenPositions
impl UnwindSafe for KOOpenPositions
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