pub struct OrderUpdateCommon {
pub symbol: String,
pub order_id: u64,
pub client_order_id: Option<u64>,
pub status: String,
pub execution_type: String,
pub transaction_time: u64,
pub tx_hash: String,
pub user_address: String,
}Expand description
Common fields for all order update events
Fields§
§symbol: String§order_id: u64§client_order_id: Option<u64>§status: String§execution_type: String§transaction_time: u64§tx_hash: String§user_address: StringTrait Implementations§
Source§impl Clone for OrderUpdateCommon
impl Clone for OrderUpdateCommon
Source§fn clone(&self) -> OrderUpdateCommon
fn clone(&self) -> OrderUpdateCommon
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 OrderUpdateCommon
impl Debug for OrderUpdateCommon
Source§impl<'de> Deserialize<'de> for OrderUpdateCommon
impl<'de> Deserialize<'de> for OrderUpdateCommon
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrderUpdateCommon, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrderUpdateCommon, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OrderUpdateCommon
impl Serialize for OrderUpdateCommon
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OrderUpdateCommon
impl RefUnwindSafe for OrderUpdateCommon
impl Send for OrderUpdateCommon
impl Sync for OrderUpdateCommon
impl Unpin for OrderUpdateCommon
impl UnsafeUnpin for OrderUpdateCommon
impl UnwindSafe for OrderUpdateCommon
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