pub struct DailyScheduleResponse {
pub is_work_day: bool,
pub daily_schedule: Vec<ScheduleEntry>,
}Expand description
The trading schedule of one instrument for the day.
Fields§
§is_work_day: booltrue if the day is a trading day.
daily_schedule: Vec<ScheduleEntry>The sessions of the day, with their status.
Trait Implementations§
Source§impl Clone for DailyScheduleResponse
impl Clone for DailyScheduleResponse
Source§fn clone(&self) -> DailyScheduleResponse
fn clone(&self) -> DailyScheduleResponse
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 DailyScheduleResponse
impl Debug for DailyScheduleResponse
Source§impl<'de> Deserialize<'de> for DailyScheduleResponse
impl<'de> Deserialize<'de> for DailyScheduleResponse
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 DailyScheduleResponse
impl RefUnwindSafe for DailyScheduleResponse
impl Send for DailyScheduleResponse
impl Sync for DailyScheduleResponse
impl Unpin for DailyScheduleResponse
impl UnsafeUnpin for DailyScheduleResponse
impl UnwindSafe for DailyScheduleResponse
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