pub struct Scenario {
pub name: String,
pub day: Date,
pub market: MarketSource,
pub start: OffsetDateTime,
pub end: OffsetDateTime,
pub faults: Vec<Fault>,
}Expand description
A validated scenario.
Fields§
§name: StringName.
day: DateThe delivery (business) day replayed.
market: MarketSourceMarket data source.
start: OffsetDateTimeWhere the clock starts.
end: OffsetDateTimeWhere the clock stops.
faults: Vec<Fault>Planned disturbances of assets, in file order.
Implementations§
Trait Implementations§
impl Eq for Scenario
impl StructuralPartialEq for Scenario
Auto Trait Implementations§
impl Forget for Scenario
impl Freeze for Scenario
impl Move for Scenario
impl RefUnwindSafe for Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnsafeUnpin for Scenariowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
PhantomData<Fault>: UnsafeUnpin,
impl UnwindSafe for Scenario
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