pub struct OptionExpirationRule {
pub timezone: Tz,
pub default_time: NaiveTime,
pub overrides: AHashMap<Ustr, NaiveTime>,
}Expand description
Rule for reinterpreting a dataset’s date-level (midnight-UTC) option expiration timestamps.
Fields§
§timezone: TzExchange-local timezone the wall-clock times are expressed in.
default_time: NaiveTimeWall-clock expiration time applied when no per-underlying override matches.
overrides: AHashMap<Ustr, NaiveTime>Per-underlying wall-clock overrides, keyed by underlying symbol.
Implementations§
Trait Implementations§
Source§impl Clone for OptionExpirationRule
impl Clone for OptionExpirationRule
Source§fn clone(&self) -> OptionExpirationRule
fn clone(&self) -> OptionExpirationRule
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 moreAuto Trait Implementations§
impl Freeze for OptionExpirationRule
impl RefUnwindSafe for OptionExpirationRule
impl Send for OptionExpirationRule
impl Sync for OptionExpirationRule
impl Unpin for OptionExpirationRule
impl UnsafeUnpin for OptionExpirationRule
impl UnwindSafe for OptionExpirationRule
Blanket Implementations§
impl<T> Allocation for T
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