pub struct OrderStatusParamsBuilder { /* private fields */ }Expand description
Builder for OrderStatusParams.
Implementations§
Source§impl OrderStatusParamsBuilder
impl OrderStatusParamsBuilder
Sourcepub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
The symbol parameter.
This field is **required.
Sourcepub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Client-generated request identifier.
This field is **optional.
Sourcepub fn order_id<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn order_id<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
Lookup order by orderId
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
Lookup order by clientOrderId
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
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<OrderStatusParams, ParamBuildError>
pub fn build(self) -> Result<OrderStatusParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OrderStatusParamsBuilder
impl RefUnwindSafe for OrderStatusParamsBuilder
impl Send for OrderStatusParamsBuilder
impl Sync for OrderStatusParamsBuilder
impl Unpin for OrderStatusParamsBuilder
impl UnsafeUnpin for OrderStatusParamsBuilder
impl UnwindSafe for OrderStatusParamsBuilder
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