pub enum TimeInForce {
    GTC,
    IOC,
    FOK,
}Expand description
Specifies how long an order remains active before it is executed or expires.
Variants§
GTC
Good-til-cancelled: the order remains until manually canceled.
IOC
Immediate-or-cancel: the order executes partially or fully, then cancels.
FOK
Fill-or-kill: the order must fill entirely or be canceled.
Trait Implementations§
Source§impl Clone for TimeInForce
 
impl Clone for TimeInForce
Source§fn clone(&self) -> TimeInForce
 
fn clone(&self) -> TimeInForce
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 TimeInForce
 
impl Debug for TimeInForce
Source§impl<'de> Deserialize<'de> for TimeInForce
 
impl<'de> Deserialize<'de> for TimeInForce
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TimeInForce
 
impl PartialEq for TimeInForce
Source§impl Serialize for TimeInForce
 
impl Serialize for TimeInForce
impl Copy for TimeInForce
impl Eq for TimeInForce
impl StructuralPartialEq for TimeInForce
Auto Trait Implementations§
impl Freeze for TimeInForce
impl RefUnwindSafe for TimeInForce
impl Send for TimeInForce
impl Sync for TimeInForce
impl Unpin for TimeInForce
impl UnwindSafe for TimeInForce
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