pub struct WsOrderUpdate {Show 19 fields
pub order_id: String,
pub client_order_id: String,
pub contract_expiry_type: CoinbaseContractExpiryType,
pub cumulative_quantity: String,
pub leaves_quantity: String,
pub avg_price: String,
pub total_fees: String,
pub status: CoinbaseOrderStatus,
pub product_id: Ustr,
pub product_type: CoinbaseProductType,
pub creation_time: String,
pub order_side: CoinbaseOrderSide,
pub order_type: CoinbaseOrderType,
pub risk_managed_by: CoinbaseRiskManagedBy,
pub time_in_force: CoinbaseTimeInForce,
pub trigger_status: CoinbaseTriggerStatus,
pub cancel_reason: String,
pub reject_reason: String,
pub total_value_after_fees: String,
}Expand description
Order status update from the user channel.
Fields§
§order_id: String§client_order_id: String§contract_expiry_type: CoinbaseContractExpiryType§cumulative_quantity: String§leaves_quantity: String§avg_price: String§total_fees: String§status: CoinbaseOrderStatus§product_id: Ustr§product_type: CoinbaseProductType§creation_time: String§order_side: CoinbaseOrderSide§order_type: CoinbaseOrderType§risk_managed_by: CoinbaseRiskManagedBy§time_in_force: CoinbaseTimeInForce§trigger_status: CoinbaseTriggerStatus§cancel_reason: String§reject_reason: String§total_value_after_fees: StringTrait Implementations§
Source§impl Clone for WsOrderUpdate
impl Clone for WsOrderUpdate
Source§fn clone(&self) -> WsOrderUpdate
fn clone(&self) -> WsOrderUpdate
Returns a duplicate of the value. Read more
1.0.0 · 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 WsOrderUpdate
impl Debug for WsOrderUpdate
Source§impl<'de> Deserialize<'de> for WsOrderUpdate
impl<'de> Deserialize<'de> for WsOrderUpdate
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 WsOrderUpdate
impl RefUnwindSafe for WsOrderUpdate
impl Send for WsOrderUpdate
impl Sync for WsOrderUpdate
impl Unpin for WsOrderUpdate
impl UnsafeUnpin for WsOrderUpdate
impl UnwindSafe for WsOrderUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more