pub struct Fill {Show 18 fields
pub fill_id: Uuid,
pub fill_kind: FillKind,
pub execution_venue: ExecutionVenue,
pub exchange_fill_id: Option<String>,
pub order_id: Option<OrderId>,
pub trader: Option<UserId>,
pub account: Option<AccountId>,
pub symbol: TradableProduct,
pub dir: Dir,
pub quantity: Decimal,
pub price: Decimal,
pub is_taker: Option<bool>,
pub fee: Option<Decimal>,
pub fee_currency: Option<String>,
pub recv_time: Option<i64>,
pub recv_time_ns: Option<u32>,
pub trade_time: i64,
pub trade_time_ns: u32,
}Fields§
§fill_id: Uuid§fill_kind: FillKind§execution_venue: ExecutionVenue§exchange_fill_id: Option<String>§order_id: Option<OrderId>§trader: Option<UserId>§account: Option<AccountId>§symbol: TradableProduct§dir: Dir§quantity: Decimal§price: Decimal§is_taker: Option<bool>§fee: Option<Decimal>§fee_currency: Option<String>Fee currency, if different from the price currency
recv_time: Option<i64>When Architect received the fill, if realtime
recv_time_ns: Option<u32>§trade_time: i64When the cpty claims the trade happened
trade_time_ns: u32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fill
impl<'de> Deserialize<'de> for Fill
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
Source§impl JsonSchema for Fill
impl JsonSchema for Fill
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Fill
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnwindSafe for Fill
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