pub struct ParsedOrderLeg {
pub instruction: String,
pub symbol: String,
pub asset_type: String,
pub quantity: f64,
}Expand description
Parsed fields extracted from a Schwab order JSON payload.
Fields§
§instruction: String§symbol: String§asset_type: String§quantity: f64Trait Implementations§
Source§impl Clone for ParsedOrderLeg
impl Clone for ParsedOrderLeg
Source§fn clone(&self) -> ParsedOrderLeg
fn clone(&self) -> ParsedOrderLeg
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 ParsedOrderLeg
impl Debug for ParsedOrderLeg
Source§impl PartialEq for ParsedOrderLeg
impl PartialEq for ParsedOrderLeg
Source§fn eq(&self, other: &ParsedOrderLeg) -> bool
fn eq(&self, other: &ParsedOrderLeg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedOrderLeg
Auto Trait Implementations§
impl Freeze for ParsedOrderLeg
impl RefUnwindSafe for ParsedOrderLeg
impl Send for ParsedOrderLeg
impl Sync for ParsedOrderLeg
impl Unpin for ParsedOrderLeg
impl UnsafeUnpin for ParsedOrderLeg
impl UnwindSafe for ParsedOrderLeg
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