pub struct MonthlyProfileParameter {
pub meta: Option<ParameterMeta>,
pub interp_day: Option<MonthInterpDay>,
pub values: Option<[f64; 12]>,
pub external: Option<ExternalDataRef>,
pub table_ref: Option<TableDataRef>,
}
Fields§
§meta: Option<ParameterMeta>
§interp_day: Option<MonthInterpDay>
§values: Option<[f64; 12]>
§external: Option<ExternalDataRef>
§table_ref: Option<TableDataRef>
Implementations§
Source§impl MonthlyProfileParameter
impl MonthlyProfileParameter
pub fn parameters(&self) -> HashMap<&str, ParameterValueType<'_>>
pub fn parameters_mut(&mut self) -> HashMap<&str, ParameterValueTypeMut<'_>>
Source§impl MonthlyProfileParameter
impl MonthlyProfileParameter
pub fn resource_paths(&self) -> Vec<PathBuf>
pub fn update_resource_paths(&mut self, new_paths: &HashMap<PathBuf, PathBuf>)
Source§impl MonthlyProfileParameter
impl MonthlyProfileParameter
pub fn node_references(&self) -> HashMap<&str, &str>
Trait Implementations§
Source§impl Clone for MonthlyProfileParameter
impl Clone for MonthlyProfileParameter
Source§fn clone(&self) -> MonthlyProfileParameter
fn clone(&self) -> MonthlyProfileParameter
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 MonthlyProfileParameter
impl Debug for MonthlyProfileParameter
Source§impl<'de> Deserialize<'de> for MonthlyProfileParameter
impl<'de> Deserialize<'de> for MonthlyProfileParameter
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 MonthlyProfileParameter
impl RefUnwindSafe for MonthlyProfileParameter
impl Send for MonthlyProfileParameter
impl Sync for MonthlyProfileParameter
impl Unpin for MonthlyProfileParameter
impl UnwindSafe for MonthlyProfileParameter
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