pub struct IndicatorCatalogEntry {
pub name: &'static str,
pub description: &'static str,
pub default_params: HashMap<String, f64>,
}Fields§
§name: &'static str§description: &'static str§default_params: HashMap<String, f64>Implementations§
Source§impl IndicatorCatalogEntry
impl IndicatorCatalogEntry
Sourcepub fn output_range(&self) -> OutputRange
pub fn output_range(&self) -> OutputRange
Siehe output_range.
Sourcepub fn thresholds(&self) -> Vec<f64>
pub fn thresholds(&self) -> Vec<f64>
Die Schwellenwerte dieses Eintrags, aufgelöst über seine Voreinstellungen.
Aufsteigend sortiert, damit ein Zeichner sie ohne weitere Annahme von unten nach oben abarbeiten kann.
Trait Implementations§
Source§impl Clone for IndicatorCatalogEntry
impl Clone for IndicatorCatalogEntry
Source§fn clone(&self) -> IndicatorCatalogEntry
fn clone(&self) -> IndicatorCatalogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IndicatorCatalogEntry
impl Debug for IndicatorCatalogEntry
Source§impl Deserialize<'static> for IndicatorCatalogEntry
impl Deserialize<'static> for IndicatorCatalogEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IndicatorCatalogEntry
impl PartialEq for IndicatorCatalogEntry
Source§impl Serialize for IndicatorCatalogEntry
impl Serialize for IndicatorCatalogEntry
impl StructuralPartialEq for IndicatorCatalogEntry
Auto Trait Implementations§
impl Freeze for IndicatorCatalogEntry
impl RefUnwindSafe for IndicatorCatalogEntry
impl Send for IndicatorCatalogEntry
impl Sync for IndicatorCatalogEntry
impl Unpin for IndicatorCatalogEntry
impl UnsafeUnpin for IndicatorCatalogEntry
impl UnwindSafe for IndicatorCatalogEntry
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