pub struct OrderEdit {
pub status: OrderEditStatus,
pub tx_id: String,
pub original_tx_id: String,
pub volume: Decimal,
pub price: Decimal,
pub price2: Option<Decimal>,
pub orders_cancelled: i64,
pub descr: AddOrderDescription,
}
Expand description
Response type for an edited order
Fields§
§status: OrderEditStatus
§tx_id: String
§original_tx_id: String
§volume: Decimal
§price: Decimal
§price2: Option<Decimal>
§orders_cancelled: i64
§descr: AddOrderDescription
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderEdit
impl<'de> Deserialize<'de> for OrderEdit
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 OrderEdit
Auto Trait Implementations§
impl Freeze for OrderEdit
impl RefUnwindSafe for OrderEdit
impl Send for OrderEdit
impl Sync for OrderEdit
impl Unpin for OrderEdit
impl UnwindSafe for OrderEdit
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