pub enum FirstTrade {
Wait,
Bid,
Ask,
BidAsk,
}Expand description
How to get the first trade.
Variants§
Wait
Wait for the first trade.
Bid
Use bid for the first trade.
Ask
Use ask for the first trade.
BidAsk
Use first bid/ask for the first trade.
Trait Implementations§
Source§impl Clone for FirstTrade
impl Clone for FirstTrade
Source§fn clone(&self) -> FirstTrade
fn clone(&self) -> FirstTrade
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 moreSource§impl Debug for FirstTrade
impl Debug for FirstTrade
Source§impl Default for FirstTrade
impl Default for FirstTrade
Source§fn default() -> FirstTrade
fn default() -> FirstTrade
Returns the “default value” for a type. Read more
impl Copy for FirstTrade
Auto Trait Implementations§
impl Freeze for FirstTrade
impl RefUnwindSafe for FirstTrade
impl Send for FirstTrade
impl Sync for FirstTrade
impl Unpin for FirstTrade
impl UnwindSafe for FirstTrade
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