pub struct FillSubaccountMessageContents {Show 16 fields
pub id: FillId,
pub subaccount_id: SubaccountId,
pub side: OrderSide,
pub liquidity: Liquidity,
pub fill_type: FillType,
pub clob_pair_id: ClobPairId,
pub size: Quantity,
pub price: Price,
pub quote_amount: String,
pub event_id: String,
pub transaction_hash: String,
pub created_at: DateTime<Utc>,
pub created_at_height: Height,
pub ticker: Ticker,
pub order_id: Option<OrderId>,
pub client_metadata: Option<ClientMetadata>,
}Expand description
Fill per subaccount.
Fields§
§id: FillIdFill id.
subaccount_id: SubaccountIdSubaccount id.
side: OrderSideOrder side.
liquidity: LiquidityLiquidity.
fill_type: FillTypeFill type.
clob_pair_id: ClobPairIdClob pair id.
size: QuantitySize.
price: PricePrice.
quote_amount: StringQuote amount.
event_id: StringEvent id.
transaction_hash: StringTransaction hash.
created_at: DateTime<Utc>Time(UTC).
created_at_height: HeightBlock height.
ticker: TickerMarket ticker.
order_id: Option<OrderId>Order id.
client_metadata: Option<ClientMetadata>Client metadata.
Trait Implementations§
Source§impl Clone for FillSubaccountMessageContents
impl Clone for FillSubaccountMessageContents
Source§fn clone(&self) -> FillSubaccountMessageContents
fn clone(&self) -> FillSubaccountMessageContents
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<'de> Deserialize<'de> for FillSubaccountMessageContents
impl<'de> Deserialize<'de> for FillSubaccountMessageContents
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 FillSubaccountMessageContents
impl RefUnwindSafe for FillSubaccountMessageContents
impl Send for FillSubaccountMessageContents
impl Sync for FillSubaccountMessageContents
impl Unpin for FillSubaccountMessageContents
impl UnsafeUnpin for FillSubaccountMessageContents
impl UnwindSafe for FillSubaccountMessageContents
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request