pub struct Fill {
pub trade_id: u64,
pub product_id: String,
pub price: Decimal,
pub size: Decimal,
pub order_id: String,
pub created_at: NaiveDateTime,
pub liquidity: String,
pub fee: Decimal,
pub settled: bool,
pub side: String,
}
Expand description
This struct represents a fill order
Fields§
§trade_id: u64
§product_id: String
§price: Decimal
§size: Decimal
§order_id: String
§created_at: NaiveDateTime
§liquidity: String
§fee: Decimal
§settled: bool
§side: String
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