Enum michromer::data::OrderDirection [] [src]

pub enum OrderDirection {
    Buy,
    Sell,
}

Variants

BuySell

Trait Implementations

impl Clone for OrderDirection
[src]

fn clone(&self) -> OrderDirection

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for OrderDirection
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for OrderDirection
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Serialize for OrderDirection
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.

impl Deserialize for OrderDirection
[src]

fn deserialize<D>(deserializer: &mut D) -> Result<OrderDirection, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.