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