#[non_exhaustive]pub struct QuoteTypeData {Show 13 fields
pub exchange: Option<String>,
pub first_trade_date_epoch_utc: Option<i64>,
pub gmt_off_set_milliseconds: Option<i64>,
pub long_name: Option<String>,
pub max_age: Option<i64>,
pub message_board_id: Option<String>,
pub quote_type: Option<String>,
pub short_name: Option<String>,
pub symbol: Option<String>,
pub time_zone_full_name: Option<String>,
pub time_zone_short_name: Option<String>,
pub underlying_symbol: Option<String>,
pub uuid: Option<String>,
}Expand description
Quote type metadata for a symbol (used in quoteSummary module)
Contains exchange information, company names, timezone data, and other metadata.
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.exchange: Option<String>Exchange code (e.g., “NMS”, “NYQ”)
first_trade_date_epoch_utc: Option<i64>First trade date as Unix epoch UTC
gmt_off_set_milliseconds: Option<i64>GMT offset in milliseconds
long_name: Option<String>Full company name
max_age: Option<i64>Maximum age of data in seconds
message_board_id: Option<String>Message board ID for discussions
quote_type: Option<String>Quote type (e.g., “EQUITY”, “ETF”, “MUTUALFUND”)
short_name: Option<String>Short company name
symbol: Option<String>Stock symbol
time_zone_full_name: Option<String>Full timezone name (e.g., “America/New_York”)
time_zone_short_name: Option<String>Short timezone name (e.g., “EST”, “PST”)
underlying_symbol: Option<String>Underlying symbol (for derivatives, usually same as symbol for stocks)
uuid: Option<String>Unique identifier UUID
Trait Implementations§
Source§impl Clone for QuoteTypeData
impl Clone for QuoteTypeData
Source§fn clone(&self) -> QuoteTypeData
fn clone(&self) -> QuoteTypeData
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 Debug for QuoteTypeData
impl Debug for QuoteTypeData
Source§impl Default for QuoteTypeData
impl Default for QuoteTypeData
Source§fn default() -> QuoteTypeData
fn default() -> QuoteTypeData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QuoteTypeData
impl<'de> Deserialize<'de> for QuoteTypeData
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
Source§impl PartialEq for QuoteTypeData
impl PartialEq for QuoteTypeData
Source§impl Serialize for QuoteTypeData
impl Serialize for QuoteTypeData
impl StructuralPartialEq for QuoteTypeData
Source§impl Translatable for QuoteTypeData
impl Translatable for QuoteTypeData
Source§fn visit_translatable(&mut self, visit: &mut dyn FnMut(&mut String))
fn visit_translatable(&mut self, visit: &mut dyn FnMut(&mut String))
Visit every translatable string field in a stable order.
Source§fn after_translate(&mut self)
fn after_translate(&mut self)
Hook invoked after translations have been written back, for types
that maintain derived text (e.g. a transcript’s joined full text).
Auto Trait Implementations§
impl Freeze for QuoteTypeData
impl RefUnwindSafe for QuoteTypeData
impl Send for QuoteTypeData
impl Sync for QuoteTypeData
impl Unpin for QuoteTypeData
impl UnsafeUnpin for QuoteTypeData
impl UnwindSafe for QuoteTypeData
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more