pub struct CurrentYearThresholdParameter {
pub meta: Option<ParameterMeta>,
pub threshold: ParameterValue,
pub values: Option<Vec<f64>>,
pub predicate: Predicate,
}
Fields§
§meta: Option<ParameterMeta>
§threshold: ParameterValue
§values: Option<Vec<f64>>
§predicate: Predicate
Implementations§
Source§impl CurrentYearThresholdParameter
impl CurrentYearThresholdParameter
pub fn parameters(&self) -> HashMap<&str, ParameterValueType<'_>>
pub fn parameters_mut(&mut self) -> HashMap<&str, ParameterValueTypeMut<'_>>
Source§impl CurrentYearThresholdParameter
impl CurrentYearThresholdParameter
pub fn resource_paths(&self) -> Vec<PathBuf>
pub fn update_resource_paths(&mut self, new_paths: &HashMap<PathBuf, PathBuf>)
Source§impl CurrentYearThresholdParameter
impl CurrentYearThresholdParameter
pub fn node_references(&self) -> HashMap<&str, &str>
Trait Implementations§
Source§impl Clone for CurrentYearThresholdParameter
impl Clone for CurrentYearThresholdParameter
Source§fn clone(&self) -> CurrentYearThresholdParameter
fn clone(&self) -> CurrentYearThresholdParameter
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<'de> Deserialize<'de> for CurrentYearThresholdParameter
impl<'de> Deserialize<'de> for CurrentYearThresholdParameter
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 CurrentYearThresholdParameter
impl RefUnwindSafe for CurrentYearThresholdParameter
impl Send for CurrentYearThresholdParameter
impl Sync for CurrentYearThresholdParameter
impl Unpin for CurrentYearThresholdParameter
impl UnwindSafe for CurrentYearThresholdParameter
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