struct PositionOut {
position_id: u64,
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§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 PositionOut
impl RefUnwindSafe for PositionOut
impl Send for PositionOut
impl Sync for PositionOut
impl Unpin for PositionOut
impl UnwindSafe for PositionOut
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