pub struct EventWindow {
pub pre_days: i32,
pub post_days: i32,
}Expand description
Defines the pre- and post-event window in trading days.
Fields§
§pre_days: i32Number of days before the event (negative means before; e.g. -10).
post_days: i32Number of days after the event (positive means after; e.g. +10).
Trait Implementations§
Source§impl Clone for EventWindow
impl Clone for EventWindow
impl Copy for EventWindow
Auto Trait Implementations§
impl Freeze for EventWindow
impl RefUnwindSafe for EventWindow
impl Send for EventWindow
impl Sync for EventWindow
impl Unpin for EventWindow
impl UnsafeUnpin for EventWindow
impl UnwindSafe for EventWindow
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