#[non_exhaustive]pub struct Quote {
pub key: MarketKey,
pub bid: Option<Level>,
pub ask: Option<Level>,
pub time: Option<UnixMillis>,
pub extensions: Extensions,
}Expand description
An instrument’s best bid and ask at one moment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key: MarketKeyThe instrument’s key.
bid: Option<Level>The highest bid, when there is one.
ask: Option<Level>The lowest ask, when there is one.
time: Option<UnixMillis>When the venue took it.
extensions: ExtensionsThe venue’s own facts.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Quote
Auto Trait Implementations§
impl !RefUnwindSafe for Quote
impl !UnwindSafe for Quote
impl Freeze for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnsafeUnpin 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