pub struct OrderModification {
pub order_id: String,
pub quantity: Option<u32>,
pub price: Option<f64>,
pub trigger_price: Option<f64>,
pub order_type: Option<OrderType>,
pub validity: Option<Validity>,
pub disclosed_quantity: Option<u32>,
}
Expand description
Order modification data
Fields§
§order_id: String
Order ID to modify
quantity: Option<u32>
New quantity
price: Option<f64>
New price
trigger_price: Option<f64>
New trigger price
order_type: Option<OrderType>
New order type
validity: Option<Validity>
New validity
disclosed_quantity: Option<u32>
New disclosed quantity
Trait Implementations§
Source§impl Clone for OrderModification
impl Clone for OrderModification
Source§fn clone(&self) -> OrderModification
fn clone(&self) -> OrderModification
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OrderModification
impl Debug for OrderModification
Source§impl<'de> Deserialize<'de> for OrderModification
impl<'de> Deserialize<'de> for OrderModification
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 OrderModification
impl RefUnwindSafe for OrderModification
impl Send for OrderModification
impl Sync for OrderModification
impl Unpin for OrderModification
impl UnwindSafe for OrderModification
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