pub struct OrderStatusParams {
pub symbol: String,
pub id: Option<String>,
pub order_id: Option<i64>,
pub orig_client_order_id: Option<String>,
pub recv_window: Option<Decimal>,
}Expand description
Request parameters for the [order_status] operation.
This struct holds all of the inputs you can pass when calling
order_status.
Fields§
§symbol: StringThe symbol parameter.
This field is **required.
id: Option<String>Client-generated request identifier.
This field is **optional.
order_id: Option<i64>Lookup order by orderId
This field is **optional.
orig_client_order_id: Option<String>Lookup order by clientOrderId
This field is **optional.
recv_window: Option<Decimal>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 OrderStatusParams
impl OrderStatusParams
Sourcepub fn builder(symbol: String) -> OrderStatusParamsBuilder
pub fn builder(symbol: String) -> OrderStatusParamsBuilder
Create a builder for [order_status].
Required parameters:
symbol— String
Trait Implementations§
Source§impl Clone for OrderStatusParams
impl Clone for OrderStatusParams
Source§fn clone(&self) -> OrderStatusParams
fn clone(&self) -> OrderStatusParams
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 moreSource§impl Debug for OrderStatusParams
impl Debug for OrderStatusParams
Source§impl<'de> Deserialize<'de> for OrderStatusParams
impl<'de> Deserialize<'de> for OrderStatusParams
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 OrderStatusParams
impl RefUnwindSafe for OrderStatusParams
impl Send for OrderStatusParams
impl Sync for OrderStatusParams
impl Unpin for OrderStatusParams
impl UnsafeUnpin for OrderStatusParams
impl UnwindSafe for OrderStatusParams
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