Struct openlimits_exchange::model::request::OpenLimitOrderRequest [−][src]
pub struct OpenLimitOrderRequest {
pub client_order_id: Option<String>,
pub market_pair: MarketPair,
pub size: Decimal,
pub price: Decimal,
pub time_in_force: TimeInForce,
pub post_only: bool,
}Expand description
This struct represents an open limit order
Fields
client_order_id: Option<String>market_pair: MarketPairsize: Decimalprice: Decimaltime_in_force: TimeInForcepost_only: boolImplementations
pub fn new(
client_order_id: Option<String>,
market_pair: MarketPair,
size: Decimal,
price: Decimal,
time_in_force: TimeInForce,
post_only: bool
) -> OpenLimitOrderRequest
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for OpenLimitOrderRequest
impl Send for OpenLimitOrderRequest
impl Sync for OpenLimitOrderRequest
impl Unpin for OpenLimitOrderRequest
impl UnwindSafe for OpenLimitOrderRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more