pub struct QuoteInfo {
pub quote_id: String,
pub instrument_name: String,
pub side: String,
pub amount: f64,
pub price: f64,
pub quote_set_id: Option<String>,
pub mmp_group: String,
pub creation_timestamp: u64,
pub state: String,
pub filled_amount: f64,
pub average_price: Option<f64>,
pub priority: u64,
}Expand description
Quote information from get_open_orders
Fields§
§quote_id: StringQuote ID
instrument_name: StringInstrument name
side: StringQuote side
amount: f64Quote amount
price: f64Quote price
quote_set_id: Option<String>Quote set ID (if any)
mmp_group: StringMMP group name
creation_timestamp: u64Quote creation timestamp
state: StringQuote state (e.g., “open”, “filled”, “cancelled”)
filled_amount: f64Filled amount
average_price: Option<f64>Average fill price
priority: u64Quote priority in order book
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuoteInfo
impl<'de> Deserialize<'de> for QuoteInfo
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 QuoteInfo
impl RefUnwindSafe for QuoteInfo
impl Send for QuoteInfo
impl Sync for QuoteInfo
impl Unpin for QuoteInfo
impl UnwindSafe for QuoteInfo
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