pub struct Fill {Show 13 fields
pub kind: FillKind,
pub fill_id: FillId,
pub order_id: Option<OrderId>,
pub account_id: Option<AccountId>,
pub market: MarketId,
pub quantity: Decimal,
pub price: Decimal,
pub dir: Dir,
pub is_maker: Option<bool>,
pub recv_time: Option<DateTime<Utc>>,
pub trade_time: DateTime<Utc>,
pub trader: Option<UserId>,
pub fee: Option<Fee>,
}Fields§
§kind: FillKind§fill_id: FillId§order_id: Option<OrderId>Corresponding order ID, if the order originated from Architect
account_id: Option<AccountId>§market: MarketId§quantity: Decimal§price: Decimal§dir: Dir§is_maker: Option<bool>§recv_time: Option<DateTime<Utc>>When Architect received the fill, if realtime
trade_time: DateTime<Utc>When the cpty claims the trade happened
trader: Option<UserId>§fee: Option<Fee>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 json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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 moreimpl Copy for Fill
Auto 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