pub struct CorrelationEntity {
pub entity_type: String,
pub id: EntityId,
}Expand description
A single entity reference within a correlation group.
entity_type is a string tag (currently always "inflow") that
identifies the kind of stochastic variable. Using String rather than
an enum preserves forward compatibility when additional entity types
(e.g., load, wind) are added without a breaking schema change.
See Input Scenarios §5.
Fields§
§entity_type: StringEntity type tag. Currently "inflow" for hydro inflow series.
id: EntityIdEntity identifier matching the corresponding entity’s id field.
Trait Implementations§
Source§impl Clone for CorrelationEntity
impl Clone for CorrelationEntity
Source§fn clone(&self) -> CorrelationEntity
fn clone(&self) -> CorrelationEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CorrelationEntity
impl Debug for CorrelationEntity
Source§impl PartialEq for CorrelationEntity
impl PartialEq for CorrelationEntity
impl Eq for CorrelationEntity
impl StructuralPartialEq for CorrelationEntity
Auto Trait Implementations§
impl Freeze for CorrelationEntity
impl RefUnwindSafe for CorrelationEntity
impl Send for CorrelationEntity
impl Sync for CorrelationEntity
impl Unpin for CorrelationEntity
impl UnsafeUnpin for CorrelationEntity
impl UnwindSafe for CorrelationEntity
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