pub struct OrderAmendmentsParams {
pub symbol: String,
pub order_id: i64,
pub id: Option<String>,
pub from_execution_id: Option<i64>,
pub limit: Option<i64>,
pub recv_window: Option<Decimal>,
}Expand description
Request parameters for the [order_amendments] operation.
This struct holds all of the inputs you can pass when calling
order_amendments.
Fields§
§symbol: StringThe symbol parameter.
This field is **required.
order_id: i64The order_id parameter.
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
from_execution_id: Option<i64>The from_execution_id parameter.
This field is **optional.
limit: Option<i64>Default: 500; Maximum: 1000
This field is **optional.
recv_window: Option<Decimal>The value cannot be greater than 60000.
Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
This field is **optional.
Implementations§
Source§impl OrderAmendmentsParams
impl OrderAmendmentsParams
Sourcepub fn builder(symbol: String, order_id: i64) -> OrderAmendmentsParamsBuilder
pub fn builder(symbol: String, order_id: i64) -> OrderAmendmentsParamsBuilder
Create a builder for [order_amendments].
Required parameters:
symbol— Stringorder_id— i64
Trait Implementations§
Source§impl Clone for OrderAmendmentsParams
impl Clone for OrderAmendmentsParams
Source§fn clone(&self) -> OrderAmendmentsParams
fn clone(&self) -> OrderAmendmentsParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrderAmendmentsParams
impl RefUnwindSafe for OrderAmendmentsParams
impl Send for OrderAmendmentsParams
impl Sync for OrderAmendmentsParams
impl Unpin for OrderAmendmentsParams
impl UnsafeUnpin for OrderAmendmentsParams
impl UnwindSafe for OrderAmendmentsParams
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