pub enum OrderTypeEncoding {
Limit {
price: u64,
timestamp: u64,
},
Spot,
FillOrKill,
PostOnly,
Market,
BoundedMarket {
max_price: u64,
min_price: u64,
},
}Expand description
Order type variants for encoding.
Variants§
Trait Implementations§
Source§impl Clone for OrderTypeEncoding
impl Clone for OrderTypeEncoding
Source§fn clone(&self) -> OrderTypeEncoding
fn clone(&self) -> OrderTypeEncoding
Returns a duplicate of the value. Read more
1.0.0 · 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 OrderTypeEncoding
impl RefUnwindSafe for OrderTypeEncoding
impl Send for OrderTypeEncoding
impl Sync for OrderTypeEncoding
impl Unpin for OrderTypeEncoding
impl UnwindSafe for OrderTypeEncoding
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