pub struct NamedInputProjectionContext<'a> {
pub observed_through: NaiveDateTime,
pub closed_bars: &'a [ClosedBar],
pub observations: &'a [StrategyObservation],
pub series: &'a dyn HistoricalSeriesView,
pub observation_history: &'a dyn HistoricalObservationView,
}Expand description
Immutable causal values available to one named-input projector.
Fields§
§observed_through: NaiveDateTime§closed_bars: &'a [ClosedBar]§observations: &'a [StrategyObservation]§series: &'a dyn HistoricalSeriesView§observation_history: &'a dyn HistoricalObservationViewTrait Implementations§
Source§impl<'a> Clone for NamedInputProjectionContext<'a>
impl<'a> Clone for NamedInputProjectionContext<'a>
Source§fn clone(&self) -> NamedInputProjectionContext<'a>
fn clone(&self) -> NamedInputProjectionContext<'a>
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 moreimpl<'a> Copy for NamedInputProjectionContext<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NamedInputProjectionContext<'a>
impl<'a> !Send for NamedInputProjectionContext<'a>
impl<'a> !Sync for NamedInputProjectionContext<'a>
impl<'a> !UnwindSafe for NamedInputProjectionContext<'a>
impl<'a> Freeze for NamedInputProjectionContext<'a>
impl<'a> Unpin for NamedInputProjectionContext<'a>
impl<'a> UnsafeUnpin for NamedInputProjectionContext<'a>
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