pub struct OrderLegSpec {
pub instruction: OrderInstruction,
pub symbol: String,
pub asset_type: &'static str,
pub quantity: f64,
}Fields§
§instruction: OrderInstruction§symbol: String§asset_type: &'static str§quantity: f64Trait Implementations§
Source§impl Clone for OrderLegSpec
impl Clone for OrderLegSpec
Source§fn clone(&self) -> OrderLegSpec
fn clone(&self) -> OrderLegSpec
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 moreAuto Trait Implementations§
impl Freeze for OrderLegSpec
impl RefUnwindSafe for OrderLegSpec
impl Send for OrderLegSpec
impl Sync for OrderLegSpec
impl Unpin for OrderLegSpec
impl UnsafeUnpin for OrderLegSpec
impl UnwindSafe for OrderLegSpec
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