pub struct Quote {
pub rfq_id: String,
pub quote_id: String,
pub client_id: Option<u32>,
pub bid_price: Decimal,
pub ask_price: Decimal,
pub status: OrderStatus,
pub created_at: i64,
}Fields§
§rfq_id: StringUnique RFQ order ID assigned by the matching engine.
quote_id: StringUnique RFQ quote ID, assigned by the matching engine.
client_id: Option<u32>Custom RFQ quote ID assigned by the maker (optionally)
bid_price: DecimalQuote Bid Price.
ask_price: DecimalQuote Ask Price.
status: OrderStatusStatus.
created_at: i64Time the quote was created.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quote
impl<'de> Deserialize<'de> for Quote
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 Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
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