pub struct CalendarDay {
pub date: String,
pub open: String,
pub close: String,
pub settlement_date: Option<String>,
pub session_open: Option<String>,
pub session_close: Option<String>,
}Expand description
Enhanced calendar day information.
Fields§
§date: StringTrading date.
open: StringMarket open time.
close: StringMarket close time.
settlement_date: Option<String>Settlement date.
session_open: Option<String>Pre-market session open time.
session_close: Option<String>After-hours session close time.
Trait Implementations§
Source§impl Clone for CalendarDay
impl Clone for CalendarDay
Source§fn clone(&self) -> CalendarDay
fn clone(&self) -> CalendarDay
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 CalendarDay
impl Debug for CalendarDay
Source§impl<'de> Deserialize<'de> for CalendarDay
impl<'de> Deserialize<'de> for CalendarDay
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CalendarDay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CalendarDay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CalendarDay
impl Serialize for CalendarDay
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CalendarDay
impl RefUnwindSafe for CalendarDay
impl Send for CalendarDay
impl Sync for CalendarDay
impl Unpin for CalendarDay
impl UnwindSafe for CalendarDay
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