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