pub struct DayAhead<'a> {
pub day: Date,
pub mtu_minutes: u16,
pub mtu_rule: &'a Entry,
pub known_at: OffsetDateTime,
pub prices: Vec<&'a Observation>,
}Expand description
The day-ahead result as known at an instant.
Fields§
§day: DateThe delivery day.
mtu_minutes: u16Market time unit in minutes.
mtu_rule: &'a EntryThe rule entry that set the time unit.
known_at: OffsetDateTimeWhen the prices became known.
prices: Vec<&'a Observation>The prices in time order.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for DayAhead<'a>
impl<'a> Freeze for DayAhead<'a>
impl<'a> Move for DayAhead<'a>
impl<'a> RefUnwindSafe for DayAhead<'a>
impl<'a> Send for DayAhead<'a>
impl<'a> Sync for DayAhead<'a>
impl<'a> Unpin for DayAhead<'a>
impl<'a> UnsafeUnpin for DayAhead<'a>where
NonZeroI32Inner: UnsafeUnpin,
&'a Entry: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<&'a Observation>: UnsafeUnpin,
impl<'a> UnwindSafe for DayAhead<'a>where
NonZero<i32>: UnwindSafe,
&'a Entry: UnwindSafe,
RawVecInner: UnwindSafe,
&'a Observation: UnwindSafe,
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