pub struct OrderListStatusParamsBuilder { /* private fields */ }Expand description
Builder for OrderListStatusParams.
Implementations§
Source§impl OrderListStatusParamsBuilder
impl OrderListStatusParamsBuilder
Sourcepub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Unique WebSocket request ID.
This field is **optional.
Sourcepub fn orig_client_order_id<VALUE: Into<Option<String>>>(
self,
value: VALUE,
) -> Self
pub fn orig_client_order_id<VALUE: Into<Option<String>>>( self, value: VALUE, ) -> Self
orderIdororigClientOrderIdmustbesent
This field is **optional.
Sourcepub fn order_list_id<VALUE: Into<Option<i32>>>(self, value: VALUE) -> Self
pub fn order_list_id<VALUE: Into<Option<i32>>>(self, value: VALUE) -> Self
Cancel order list by orderListId
This field is **optional.
Sourcepub fn recv_window<VALUE: Into<Option<Decimal>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<Decimal>>>(self, value: VALUE) -> Self
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.
Sourcepub fn build(self) -> Result<OrderListStatusParams, ParamBuildError>
pub fn build(self) -> Result<OrderListStatusParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OrderListStatusParamsBuilder
impl RefUnwindSafe for OrderListStatusParamsBuilder
impl Send for OrderListStatusParamsBuilder
impl Sync for OrderListStatusParamsBuilder
impl Unpin for OrderListStatusParamsBuilder
impl UnsafeUnpin for OrderListStatusParamsBuilder
impl UnwindSafe for OrderListStatusParamsBuilder
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