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