pub struct TradeNotifyPush {Show 15 fields
pub source: TradeNotifyPushSource,
pub header: Option<TradeNotifyHeader>,
pub notice_type: Option<u32>,
pub pstn_ids: Vec<String>,
pub order_ids: Vec<String>,
pub order_fill_ids: Vec<String>,
pub order_op_req_ids: Vec<String>,
pub exchange: Option<String>,
pub version: Option<u64>,
pub deprecated_asset_category: Option<u32>,
pub err_code: Option<i32>,
pub orders: Vec<Order>,
pub order_fills: Vec<OrderFill>,
pub origin_request_result: Vec<RequsetResult>,
pub asset_change_data: Option<AssetChangeData>,
}Fields§
§source: TradeNotifyPushSource§header: Option<TradeNotifyHeader>§notice_type: Option<u32>§pstn_ids: Vec<String>§order_ids: Vec<String>§order_fill_ids: Vec<String>§order_op_req_ids: Vec<String>§exchange: Option<String>§version: Option<u64>§deprecated_asset_category: Option<u32>§err_code: Option<i32>§orders: Vec<Order>§order_fills: Vec<OrderFill>§origin_request_result: Vec<RequsetResult>§asset_change_data: Option<AssetChangeData>Trait Implementations§
Source§impl Clone for TradeNotifyPush
impl Clone for TradeNotifyPush
Source§fn clone(&self) -> TradeNotifyPush
fn clone(&self) -> TradeNotifyPush
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 TradeNotifyPush
impl Debug for TradeNotifyPush
Source§impl PartialEq for TradeNotifyPush
impl PartialEq for TradeNotifyPush
Source§fn eq(&self, other: &TradeNotifyPush) -> bool
fn eq(&self, other: &TradeNotifyPush) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TradeNotifyPush
Auto Trait Implementations§
impl Freeze for TradeNotifyPush
impl RefUnwindSafe for TradeNotifyPush
impl Send for TradeNotifyPush
impl Sync for TradeNotifyPush
impl Unpin for TradeNotifyPush
impl UnsafeUnpin for TradeNotifyPush
impl UnwindSafe for TradeNotifyPush
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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