pub struct Change {
pub time: String,
pub sequence: usize,
pub order_id: String,
pub product_id: String,
pub new_size: Decimal,
pub old_size: Decimal,
pub new_funds: Option<Decimal>,
pub old_funds: Option<Decimal>,
pub price: Option<Decimal>,
pub side: OrderSide,
pub user_id: Option<String>,
pub profile_id: Option<String>,
}Fields§
§time: String§sequence: usize§order_id: String§product_id: String§new_size: Decimal§old_size: Decimal§new_funds: Option<Decimal>§old_funds: Option<Decimal>§price: Option<Decimal>§side: OrderSide§user_id: Option<String>§profile_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Change
impl<'de> Deserialize<'de> for Change
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
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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