Struct bitbank_api::private::create_order::CreateOrder
source · pub struct CreateOrder {Show 14 fields
pub order_id: u64,
pub pair: Pair,
pub side: Side,
pub order_type: OrderType,
pub start_amount: f64,
pub remaining_amount: f64,
pub executed_amount: f64,
pub price: f64,
pub post_only: bool,
pub average_price: f64,
pub ordered_at: NaiveDateTime,
pub expire_at: Option<NaiveDateTime>,
pub trigger_price: Option<f64>,
pub status: OrderStatus,
}Fields§
§order_id: u64§pair: Pair§side: Side§order_type: OrderType§start_amount: f64§remaining_amount: f64§executed_amount: f64§price: f64§post_only: bool§average_price: f64§ordered_at: NaiveDateTime§expire_at: Option<NaiveDateTime>§trigger_price: Option<f64>§status: OrderStatusTrait Implementations§
source§impl Debug for CreateOrder
impl Debug for CreateOrder
source§impl<'de> Deserialize<'de> for CreateOrder
impl<'de> Deserialize<'de> for CreateOrder
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more