pub struct OrderResp {
pub orders: Option<Vec<Order>>,
pub error: Option<Error>,
}Expand description
The TradeStation API Response for confirming an order, but not actually placing it.
Fields§
§orders: Option<Vec<Order>>The order confirmations.
error: Option<Error>The error from TradeStation’s API.
NOTE: Will be None if there was no error.
Trait Implementations§
Source§impl From<OrderRespRaw> for OrderResp
impl From<OrderRespRaw> for OrderResp
Source§fn from(raw: OrderRespRaw) -> Self
fn from(raw: OrderRespRaw) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrderResp
impl !RefUnwindSafe for OrderResp
impl Send for OrderResp
impl Sync for OrderResp
impl Unpin for OrderResp
impl !UnwindSafe for OrderResp
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