lattice-sdk 0.1.2

Rust SDK for lattice_sdk generated by Fern
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub use crate::prelude::*;

/// A component that describes some measured value with error.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct Measurement {
    /// The value of the measurement.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub value: Option<f64>,
    /// Estimated one standard deviation in same unit as the value.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sigma: Option<f64>,
}