pub struct FillEvent {
pub market: String,
pub order_id: String,
pub fill_id: String,
pub timestamp: u64,
pub side: Side,
pub amount: String,
pub price: String,
pub taker: Option<bool>,
pub fee: Option<String>,
pub fee_currency: Option<String>,
}Expand description
Fill pushed on the account WebSocket channel.
Fields§
§market: String§order_id: String§fill_id: String§timestamp: u64§side: Side§amount: String§price: String§taker: Option<bool>§fee: Option<String>§fee_currency: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FillEvent
impl<'de> Deserialize<'de> for FillEvent
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 FillEvent
impl RefUnwindSafe for FillEvent
impl Send for FillEvent
impl Sync for FillEvent
impl Unpin for FillEvent
impl UnsafeUnpin for FillEvent
impl UnwindSafe for FillEvent
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