pub struct Characteristic {
pub error: Option<f64>,
pub name: String,
pub node_ids: Option<Vec<i32>>,
pub parameter_values: Option<Vec<f64>>,
pub timestamp: String,
pub value: f64,
}Fields§
§error: Option<f64>The error in the characteristic value, or None otherwise.
name: StringThe name of the characteristic.
node_ids: Option<Vec<i32>>The list of architecture node ids for the site where the characteristic is measured, if that is different from the site of the enclosing operation. None if it is the same. The order of this or the enclosing node ids obey the definition of node symmetry from the enclosing operation.
parameter_values: Option<Vec<f64>>The optional ordered list of parameter values used to generate the characteristic. The order matches the parameters in the enclosing operation, and so the lengths of these two lists must match.
timestamp: StringThe date and time at which the characteristic was measured.
value: f64The characteristic value measured.
Implementations§
Trait Implementations§
source§impl Clone for Characteristic
impl Clone for Characteristic
source§fn clone(&self) -> Characteristic
fn clone(&self) -> Characteristic
Returns a copy 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 Characteristic
impl Debug for Characteristic
source§impl Default for Characteristic
impl Default for Characteristic
source§fn default() -> Characteristic
fn default() -> Characteristic
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Characteristic
impl<'de> Deserialize<'de> for Characteristic
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
source§impl PartialEq<Characteristic> for Characteristic
impl PartialEq<Characteristic> for Characteristic
source§fn eq(&self, other: &Characteristic) -> bool
fn eq(&self, other: &Characteristic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.