pub struct UsPosition {
pub symbol: String,
pub quantity: i64,
pub avg_entry_price: String,
pub unrealized_pnl: Option<String>,
}Fields§
§symbol: String§quantity: i64§avg_entry_price: String§unrealized_pnl: Option<String>Trait Implementations§
Source§impl Clone for UsPosition
impl Clone for UsPosition
Source§fn clone(&self) -> UsPosition
fn clone(&self) -> UsPosition
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 UsPosition
impl Debug for UsPosition
Source§impl<'de> Deserialize<'de> for UsPosition
impl<'de> Deserialize<'de> for UsPosition
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 UsPosition
impl RefUnwindSafe for UsPosition
impl Send for UsPosition
impl Sync for UsPosition
impl Unpin for UsPosition
impl UnsafeUnpin for UsPosition
impl UnwindSafe for UsPosition
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