#[non_exhaustive]pub struct Fill {
pub id: Option<String>,
pub order_id: OrderId,
pub symbol: Symbol,
pub side: OrderSide,
pub price: Decimal,
pub quantity: Decimal,
pub fee: Option<Decimal>,
pub fee_asset: Option<String>,
pub timestamp: OffsetDateTime,
pub extensions: Extensions,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>§order_id: OrderId§symbol: Symbol§side: OrderSide§price: Decimal§quantity: Decimal§fee: Option<Decimal>§fee_asset: Option<String>§timestamp: OffsetDateTime§extensions: ExtensionsImplementations§
Trait Implementations§
impl StructuralPartialEq 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 UnsafeUnpin 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