struct PosJson {
position_id: u64,
position_side: i32,
code: String,
name: String,
qty: f64,
can_sell_qty: f64,
price: f64,
cost_price: f64,
val: f64,
pl_val: f64,
pl_ratio: f64,
}Fields§
§position_id: u64§position_side: i32§code: String§name: String§qty: f64§can_sell_qty: f64§price: f64§cost_price: f64§val: f64§pl_val: f64§pl_ratio: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for PosJson
impl RefUnwindSafe for PosJson
impl Send for PosJson
impl Sync for PosJson
impl Unpin for PosJson
impl UnsafeUnpin for PosJson
impl UnwindSafe for PosJson
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