pub struct EcbtOrderRequest {
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: MarketPair§size: Decimal§price: Decimal§time_in_force: TimeInForce§post_only: boolTrait Implementations§
Source§impl Clone for EcbtOrderRequest
impl Clone for EcbtOrderRequest
Source§fn clone(&self) -> EcbtOrderRequest
fn clone(&self) -> EcbtOrderRequest
Returns a duplicate 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 EcbtOrderRequest
impl Debug for EcbtOrderRequest
Source§impl<'de> Deserialize<'de> for EcbtOrderRequest
impl<'de> Deserialize<'de> for EcbtOrderRequest
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
Source§impl PartialEq for EcbtOrderRequest
impl PartialEq for EcbtOrderRequest
Source§impl Serialize for EcbtOrderRequest
impl Serialize for EcbtOrderRequest
impl StructuralPartialEq for EcbtOrderRequest
Auto Trait Implementations§
impl Freeze for EcbtOrderRequest
impl RefUnwindSafe for EcbtOrderRequest
impl Send for EcbtOrderRequest
impl Sync for EcbtOrderRequest
impl Unpin for EcbtOrderRequest
impl UnwindSafe for EcbtOrderRequest
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