pub struct SmartComponent {
pub bit_number: i32,
pub exchange: String,
pub exchange_letter: String,
}Expand description
One contributing exchange behind a consolidated BBO feed.
Returned by Client::smart_components for a given BBO exchange token
(e.g. "a6"). Each entry maps a bit position in the consolidated
quote to the underlying exchange and its single-letter abbreviation.
Fields§
§bit_number: i32Bit position in the consolidated quote.
exchange: StringFull exchange name (e.g. "NASDAQ").
exchange_letter: StringSingle-letter exchange abbreviation (e.g. "P" for Pacific).
Trait Implementations§
Source§impl Clone for SmartComponent
impl Clone for SmartComponent
Source§fn clone(&self) -> SmartComponent
fn clone(&self) -> SmartComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for SmartComponent
impl ComposeSchema for SmartComponent
Source§impl Debug for SmartComponent
impl Debug for SmartComponent
Source§impl Default for SmartComponent
impl Default for SmartComponent
Source§fn default() -> SmartComponent
fn default() -> SmartComponent
Returns the “default value” for a type. Read more
impl Eq for SmartComponent
Source§impl PartialEq for SmartComponent
impl PartialEq for SmartComponent
impl StructuralPartialEq for SmartComponent
Auto Trait Implementations§
impl Freeze for SmartComponent
impl RefUnwindSafe for SmartComponent
impl Send for SmartComponent
impl Sync for SmartComponent
impl Unpin for SmartComponent
impl UnsafeUnpin for SmartComponent
impl UnwindSafe for SmartComponent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.