Struct OrderOption
pub struct OrderOption {
pub provider_id: String,
pub order_type: Option<OrderType>,
pub time_in_force: Option<TimeInForce>,
}Expand description
One order type and time-in-force combination accepted by a market.
Fields§
§provider_id: StringExchange value, preserved for diagnostics and future variants.
order_type: Option<OrderType>Normalized pricing behavior, or None for a newly added provider value.
time_in_force: Option<TimeInForce>Explicit lifetime, or None for the exchange’s default.
Trait Implementations§
§impl Clone for OrderOption
impl Clone for OrderOption
§impl Debug for OrderOption
impl Debug for OrderOption
impl Eq for OrderOption
§impl Hash for OrderOption
impl Hash for OrderOption
§impl PartialEq for OrderOption
impl PartialEq for OrderOption
impl StructuralPartialEq for OrderOption
Auto Trait Implementations§
impl Freeze for OrderOption
impl RefUnwindSafe for OrderOption
impl Send for OrderOption
impl Sync for OrderOption
impl Unpin for OrderOption
impl UnsafeUnpin for OrderOption
impl UnwindSafe for OrderOption
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.