pub struct Order {
pub start: OffsetDateTime,
pub side: Side,
pub mw: Decimal,
pub limit: Decimal,
pub expected_price: f64,
pub water_value: f64,
}Expand description
One day-ahead limit order.
Fields§
§start: OffsetDateTimeMarket time unit start (UTC).
side: SideBuy or sell.
mw: DecimalVolume, MW, on the volume granularity (toward zero).
limit: DecimalProtective limit price, €/MWh, on the price granularity, within the price limits.
expected_price: f64The expected price at this unit, €/MWh.
water_value: f64The water value the limit comes from, €/MWh.
Trait Implementations§
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Forget for Order
impl Freeze for Order
impl Move for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnsafeUnpin for Orderwhere
NonZeroI32Inner: UnsafeUnpin,
impl UnwindSafe for Order
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more