pub struct ExchangeHours {Show 13 fields
pub exchange: Option<String>,
pub exchange_name: Option<String>,
pub country: Option<String>,
pub timezone: Option<String>,
pub market_open: Option<String>,
pub market_close: Option<String>,
pub pre_market_start: Option<String>,
pub pre_market_end: Option<String>,
pub after_hours_start: Option<String>,
pub after_hours_end: Option<String>,
pub is_open: Option<bool>,
pub current_time: Option<String>,
pub day_of_week: Option<String>,
}Expand description
Exchange trading hours and status
Fields§
§exchange: Option<String>Exchange symbol (e.g., “NYSE”, “NASDAQ”)
exchange_name: Option<String>Full exchange name
country: Option<String>Country
timezone: Option<String>Timezone
market_open: Option<String>Regular trading open time
market_close: Option<String>Regular trading close time
pre_market_start: Option<String>Pre-market start time
pre_market_end: Option<String>Pre-market end time
after_hours_start: Option<String>After hours start time
after_hours_end: Option<String>After hours end time
is_open: Option<bool>Current market status
current_time: Option<String>Current date and time
day_of_week: Option<String>Day of week
Trait Implementations§
Source§impl Clone for ExchangeHours
impl Clone for ExchangeHours
Source§fn clone(&self) -> ExchangeHours
fn clone(&self) -> ExchangeHours
Returns a duplicate of the value. Read more
1.0.0 · 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 ExchangeHours
impl Debug for ExchangeHours
Source§impl<'de> Deserialize<'de> for ExchangeHours
impl<'de> Deserialize<'de> for ExchangeHours
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 ExchangeHours
impl RefUnwindSafe for ExchangeHours
impl Send for ExchangeHours
impl Sync for ExchangeHours
impl Unpin for ExchangeHours
impl UnwindSafe for ExchangeHours
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