pub struct AmendOrderParams {
pub order_id: Option<String>,
pub client_order_id: Option<String>,
pub order_quantity: Decimal,
pub display_quantity: Option<Decimal>,
pub limit_price: Option<Decimal>,
pub limit_price_type: Option<PriceType>,
pub post_only: Option<bool>,
pub trigger_price: Option<Decimal>,
pub trigger_price_type: Option<PriceType>,
pub deadline: Option<String>,
pub token: Token,
}
Fields§
§order_id: Option<String>
§client_order_id: Option<String>
§order_quantity: Decimal
§display_quantity: Option<Decimal>
§limit_price: Option<Decimal>
§limit_price_type: Option<PriceType>
§post_only: Option<bool>
§trigger_price: Option<Decimal>
§trigger_price_type: Option<PriceType>
§deadline: Option<String>
§token: Token
Implementations§
Source§impl AmendOrderParams
impl AmendOrderParams
pub fn builder(order_quantity: Decimal, token: Token) -> AmendOrderParamsBuilder
Trait Implementations§
Source§impl Debug for AmendOrderParams
impl Debug for AmendOrderParams
Source§impl<'de> Deserialize<'de> for AmendOrderParams
impl<'de> Deserialize<'de> for AmendOrderParams
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
Auto Trait Implementations§
impl Freeze for AmendOrderParams
impl RefUnwindSafe for AmendOrderParams
impl Send for AmendOrderParams
impl Sync for AmendOrderParams
impl Unpin for AmendOrderParams
impl UnwindSafe for AmendOrderParams
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