pub enum TradingHours {
Regular,
Extended,
}Expand description
Specifies whether to include only regular trading hours or extended hours
Variants§
Regular
Regular Trading Hours only (RTH)
Extended
Include extended hours (pre-market and after-hours)
Implementations§
Source§impl TradingHours
impl TradingHours
Trait Implementations§
Source§impl Clone for TradingHours
impl Clone for TradingHours
Source§fn clone(&self) -> TradingHours
fn clone(&self) -> TradingHours
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 ComposeSchema for TradingHours
impl ComposeSchema for TradingHours
Source§impl Debug for TradingHours
impl Debug for TradingHours
Source§impl Default for TradingHours
impl Default for TradingHours
Source§fn default() -> TradingHours
fn default() -> TradingHours
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TradingHours
impl<'de> Deserialize<'de> for TradingHours
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 TradingHours
impl PartialEq for TradingHours
Source§impl Serialize for TradingHours
impl Serialize for TradingHours
Source§impl ToSchema for TradingHours
impl ToSchema for TradingHours
impl Copy for TradingHours
impl Eq for TradingHours
impl StructuralPartialEq for TradingHours
Auto Trait Implementations§
impl Freeze for TradingHours
impl RefUnwindSafe for TradingHours
impl Send for TradingHours
impl Sync for TradingHours
impl Unpin for TradingHours
impl UnsafeUnpin for TradingHours
impl UnwindSafe for TradingHours
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.