#[repr(C)]pub enum OrderSideSpecified {
Buy = 1,
Sell = 2,
}
Expand description
The specified order side (BUY or SELL).
Variants§
Implementations§
Source§impl OrderSideSpecified
impl OrderSideSpecified
pub fn as_order_side(&self) -> OrderSide
Trait Implementations§
Source§impl AsRef<str> for OrderSideSpecified
impl AsRef<str> for OrderSideSpecified
Source§impl Clone for OrderSideSpecified
impl Clone for OrderSideSpecified
Source§fn clone(&self) -> OrderSideSpecified
fn clone(&self) -> OrderSideSpecified
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 OrderSideSpecified
impl Debug for OrderSideSpecified
Source§impl Display for OrderSideSpecified
impl Display for OrderSideSpecified
Source§impl FromStr for OrderSideSpecified
impl FromStr for OrderSideSpecified
Source§impl Hash for OrderSideSpecified
impl Hash for OrderSideSpecified
Source§impl IntoEnumIterator for OrderSideSpecified
impl IntoEnumIterator for OrderSideSpecified
type Iterator = OrderSideSpecifiedIter
fn iter() -> OrderSideSpecifiedIter ⓘ
Source§impl Ord for OrderSideSpecified
impl Ord for OrderSideSpecified
Source§fn cmp(&self, other: &OrderSideSpecified) -> Ordering
fn cmp(&self, other: &OrderSideSpecified) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OrderSideSpecified
impl PartialEq for OrderSideSpecified
Source§impl PartialOrd for OrderSideSpecified
impl PartialOrd for OrderSideSpecified
Source§impl TryFrom<&str> for OrderSideSpecified
impl TryFrom<&str> for OrderSideSpecified
impl Copy for OrderSideSpecified
impl Eq for OrderSideSpecified
impl StructuralPartialEq for OrderSideSpecified
Auto Trait Implementations§
impl Freeze for OrderSideSpecified
impl RefUnwindSafe for OrderSideSpecified
impl Send for OrderSideSpecified
impl Sync for OrderSideSpecified
impl Unpin for OrderSideSpecified
impl UnwindSafe for OrderSideSpecified
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.Source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
Source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given
SeparatorPolicy
. Read moreSource§fn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
Source§fn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
Source§fn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
Source§fn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more