pub enum BinanceTimeInForce {
TIF_UNKNOWN = 0,
GTE = 1,
TIF_RESERVED = 2,
IOC = 3,
}
Available on crate feature
binance
only.Variants§
Trait Implementations§
source§impl Clone for BinanceTimeInForce
impl Clone for BinanceTimeInForce
source§fn clone(&self) -> BinanceTimeInForce
fn clone(&self) -> BinanceTimeInForce
Returns a copy 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 BinanceTimeInForce
impl Debug for BinanceTimeInForce
source§impl Default for BinanceTimeInForce
impl Default for BinanceTimeInForce
source§impl Enum for BinanceTimeInForce
impl Enum for BinanceTimeInForce
source§const NAME: &'static str = "BinanceTimeInForce"
const NAME: &'static str = "BinanceTimeInForce"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<BinanceTimeInForce>
fn from_i32(value: i32) -> Option<BinanceTimeInForce>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<BinanceTimeInForce>
fn from_str(str: &str) -> Option<BinanceTimeInForce>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [BinanceTimeInForce] = _
const VALUES: &'static [BinanceTimeInForce] = _
All enum values for enum type.
source§impl EnumFull for BinanceTimeInForce
impl EnumFull for BinanceTimeInForce
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for BinanceTimeInForce
impl Hash for BinanceTimeInForce
source§impl PartialEq for BinanceTimeInForce
impl PartialEq for BinanceTimeInForce
source§fn eq(&self, other: &BinanceTimeInForce) -> bool
fn eq(&self, other: &BinanceTimeInForce) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BinanceTimeInForce
impl Eq for BinanceTimeInForce
impl StructuralPartialEq for BinanceTimeInForce
Auto Trait Implementations§
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