pub enum BinanceTimeInForce {
GTC,
IOC,
FOK,
}Expand description
Time in force options for orders
Variants§
Implementations§
Source§impl BinanceTimeInForce
impl BinanceTimeInForce
Sourcepub const fn as_str(&self) -> &'static str
pub const fn as_str(&self) -> &'static str
Returns the string representation of the time in force
Sourcepub fn to_smartstring(&self) -> String
pub fn to_smartstring(&self) -> String
Converts time in force to smartstring format
Trait Implementations§
Source§impl Clone for BinanceTimeInForce
impl Clone for BinanceTimeInForce
Source§fn clone(&self) -> BinanceTimeInForce
fn clone(&self) -> BinanceTimeInForce
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceTimeInForce
impl Debug for BinanceTimeInForce
Source§impl PartialEq for BinanceTimeInForce
impl PartialEq for BinanceTimeInForce
impl Copy for BinanceTimeInForce
impl Eq for BinanceTimeInForce
impl StructuralPartialEq for BinanceTimeInForce
Auto Trait Implementations§
impl Freeze for BinanceTimeInForce
impl RefUnwindSafe for BinanceTimeInForce
impl Send for BinanceTimeInForce
impl Sync for BinanceTimeInForce
impl Unpin for BinanceTimeInForce
impl UnwindSafe for BinanceTimeInForce
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more