pub struct CalendarFeatureProjector { /* private fields */ }Expand description
Projects caller-calendar features from completed bars at their actual reveal boundary.
Implementations§
Source§impl CalendarFeatureProjector
impl CalendarFeatureProjector
pub fn new( series_id: SeriesId, calendar: IanaTradingCalendar, kind: CalendarFeatureKind, opening_range_minutes: u32, child_seconds: u64, alignment_offset_seconds: i64, maximum_slot_history: usize, ) -> Result<Self, CalendarError>
Trait Implementations§
Source§impl HistoricalNamedInputProjector for CalendarFeatureProjector
impl HistoricalNamedInputProjector for CalendarFeatureProjector
fn output_type(&self) -> ValueType
fn project( &self, context: NamedInputProjectionContext<'_>, ) -> Result<ProjectedNamedInput, NamedInputProjectionError>
Auto Trait Implementations§
impl !Freeze for CalendarFeatureProjector
impl !RefUnwindSafe for CalendarFeatureProjector
impl !Sync for CalendarFeatureProjector
impl Send for CalendarFeatureProjector
impl Unpin for CalendarFeatureProjector
impl UnsafeUnpin for CalendarFeatureProjector
impl UnwindSafe for CalendarFeatureProjector
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