pub enum CoreParameter {
Show 39 variants
Aggregated(AggregatedParameter),
AggregatedIndex(AggregatedIndexParameter),
AsymmetricSwitchIndex(AsymmetricSwitchIndexParameter),
Constant(ConstantParameter),
ControlCurvePiecewiseInterpolated(ControlCurvePiecewiseInterpolatedParameter),
ControlCurveInterpolated(ControlCurveInterpolatedParameter),
ControlCurveIndex(ControlCurveIndexParameter),
ControlCurve(ControlCurveParameter),
DailyProfile(DailyProfileParameter),
IndexedArray(IndexedArrayParameter),
MonthlyProfile(MonthlyProfileParameter),
WeeklyProfile(WeeklyProfileParameter),
UniformDrawdownProfile(UniformDrawdownProfileParameter),
Max(MaxParameter),
Min(MinParameter),
NegativeMin(NegativeMinParameter),
NegativeMax(NegativeMaxParameter),
Division(DivisionParameter),
Negative(NegativeParameter),
Polynomial1D(Polynomial1DParameter),
ParameterThreshold(ParameterThresholdParameter),
NodeThreshold(NodeThresholdParameter),
StorageThreshold(StorageThresholdParameter),
MultipleThresholdIndex(MultipleThresholdIndexParameter),
MultipleThresholdParameterIndex(MultipleThresholdParameterIndexParameter),
CurrentYearThreshold(CurrentYearThresholdParameter),
CurrentOrdinalDayThreshold(CurrentOrdinalDayThresholdParameter),
TablesArray(TablesArrayParameter),
DataFrame(DataFrameParameter),
Deficit(DeficitParameter),
DiscountFactor(DiscountFactorParameter),
InterpolatedVolume(InterpolatedVolumeParameter),
InterpolatedFlow(InterpolatedFlowParameter),
HydropowerTarget(HydropowerTargetParameter),
Storage(StorageParameter),
RollingMeanFlowNode(RollingMeanFlowNodeParameter),
ScenarioWrapper(ScenarioWrapperParameter),
Flow(FlowParameter),
RbfProfile(RbfProfileParameter),
}
Variants§
Aggregated(AggregatedParameter)
AggregatedIndex(AggregatedIndexParameter)
AsymmetricSwitchIndex(AsymmetricSwitchIndexParameter)
Constant(ConstantParameter)
ControlCurvePiecewiseInterpolated(ControlCurvePiecewiseInterpolatedParameter)
ControlCurveInterpolated(ControlCurveInterpolatedParameter)
ControlCurveIndex(ControlCurveIndexParameter)
ControlCurve(ControlCurveParameter)
DailyProfile(DailyProfileParameter)
IndexedArray(IndexedArrayParameter)
MonthlyProfile(MonthlyProfileParameter)
WeeklyProfile(WeeklyProfileParameter)
UniformDrawdownProfile(UniformDrawdownProfileParameter)
Max(MaxParameter)
Min(MinParameter)
NegativeMin(NegativeMinParameter)
NegativeMax(NegativeMaxParameter)
Division(DivisionParameter)
Negative(NegativeParameter)
Polynomial1D(Polynomial1DParameter)
ParameterThreshold(ParameterThresholdParameter)
NodeThreshold(NodeThresholdParameter)
StorageThreshold(StorageThresholdParameter)
MultipleThresholdIndex(MultipleThresholdIndexParameter)
MultipleThresholdParameterIndex(MultipleThresholdParameterIndexParameter)
CurrentYearThreshold(CurrentYearThresholdParameter)
CurrentOrdinalDayThreshold(CurrentOrdinalDayThresholdParameter)
TablesArray(TablesArrayParameter)
DataFrame(DataFrameParameter)
Deficit(DeficitParameter)
DiscountFactor(DiscountFactorParameter)
InterpolatedVolume(InterpolatedVolumeParameter)
InterpolatedFlow(InterpolatedFlowParameter)
HydropowerTarget(HydropowerTargetParameter)
Storage(StorageParameter)
RollingMeanFlowNode(RollingMeanFlowNodeParameter)
ScenarioWrapper(ScenarioWrapperParameter)
Flow(FlowParameter)
RbfProfile(RbfProfileParameter)
Implementations§
Source§impl CoreParameter
impl CoreParameter
pub fn parameters(&self) -> HashMap<&str, ParameterValueType<'_>>
pub fn parameters_mut(&mut self) -> HashMap<&str, ParameterValueTypeMut<'_>>
pub fn ty(&self) -> &'static str
Sourcepub fn resource_paths(&self) -> Vec<PathBuf>
pub fn resource_paths(&self) -> Vec<PathBuf>
Return any external resource paths referenced by this parameter
pub fn resource_paths_recursive(&self) -> Vec<PathBuf>
pub fn update_resource_paths(&mut self, new_paths: &HashMap<PathBuf, PathBuf>)
pub fn update_resource_paths_recursive( &mut self, new_paths: &HashMap<PathBuf, PathBuf>, )
Trait Implementations§
Source§impl Clone for CoreParameter
impl Clone for CoreParameter
Source§fn clone(&self) -> CoreParameter
fn clone(&self) -> CoreParameter
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 CoreParameter
impl Debug for CoreParameter
Source§impl<'de> Deserialize<'de> for CoreParameter
impl<'de> Deserialize<'de> for CoreParameter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoreParameter
impl RefUnwindSafe for CoreParameter
impl Send for CoreParameter
impl Sync for CoreParameter
impl Unpin for CoreParameter
impl UnwindSafe for CoreParameter
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