pub struct TradingCalendarItem {
pub date: String,
pub holiday_division: HolidayDivision,
}
Expand description
Represents a single trading calendar data.
Fields§
§date: String
Trade date (YYYY-MM-DD)
holiday_division: HolidayDivision
Holiday division
Trait Implementations§
Source§impl Clone for TradingCalendarItem
impl Clone for TradingCalendarItem
Source§fn clone(&self) -> TradingCalendarItem
fn clone(&self) -> TradingCalendarItem
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 TradingCalendarItem
impl Debug for TradingCalendarItem
Source§impl<'de> Deserialize<'de> for TradingCalendarItem
impl<'de> Deserialize<'de> for TradingCalendarItem
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 TradingCalendarItem
impl PartialEq for TradingCalendarItem
impl StructuralPartialEq for TradingCalendarItem
Auto Trait Implementations§
impl Freeze for TradingCalendarItem
impl RefUnwindSafe for TradingCalendarItem
impl Send for TradingCalendarItem
impl Sync for TradingCalendarItem
impl Unpin for TradingCalendarItem
impl UnwindSafe for TradingCalendarItem
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