pub struct Fill {
pub order_id: OrderId,
pub symbol: Symbol,
pub side: Side,
pub fill_price: Price,
pub fill_quantity: Quantity,
pub fee: Option<Price>,
pub fee_asset: Option<AssetId>,
pub timestamp: DateTime<Utc>,
}Expand description
Execution information emitted whenever an order is filled.
Fields§
§order_id: OrderId§symbol: Symbol§side: Side§fill_price: Price§fill_quantity: Quantity§fee: Option<Price>§fee_asset: Option<AssetId>§timestamp: DateTime<Utc>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
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