[][src]Struct luno::orders::Order

pub struct Order {
    pub base: Decimal,
    pub counter: Decimal,
    pub creation_timestamp: u64,
    pub expiration_timestamp: u64,
    pub completed_timestamp: u64,
    pub fee_base: Decimal,
    pub fee_counter: Decimal,
    pub limit_price: Decimal,
    pub limit_volume: Decimal,
    pub order_id: String,
    pub pair: TradingPair,
    pub state: OrderState,
    pub order_type: LimitOrderType,
}

Represents an order.

Fields

base: Decimal

The base account ID against which this order is made.

counter: Decimal

The counter account ID against which this order is made.

creation_timestamp: u64

The UNIX timestamp of creation of the order.

expiration_timestamp: u64

The UNIX timestamp of expiration of this order.

completed_timestamp: u64

The UNIX timestamp of completion of this order.

fee_base: Decimal

The base fee debited after the trade principal amount.

fee_counter: Decimal

The counter fee debited after the trade principal amount.

limit_price: Decimal

The limit price of this order.

limit_volume: Decimal

The limit volume of this order.

order_id: String

The ID of the order.

pair: TradingPair

The market trading pair.

state: OrderState

The state of the order.

order_type: LimitOrderType

The type of the order.

Trait Implementations

impl Debug for Order[src]

impl<'de> Deserialize<'de> for Order[src]

Auto Trait Implementations

impl RefUnwindSafe for Order

impl Send for Order

impl Sync for Order

impl Unpin for Order

impl UnwindSafe for Order

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.