Struct qcs_api::models::characteristic::Characteristic [−][src]
pub struct Characteristic {
pub error: Option<f32>,
pub name: String,
pub node_ids: Option<Vec<i32>>,
pub parameter_values: Option<Vec<f32>>,
pub timestamp: String,
pub value: f32,
}Expand description
Characteristic : A measured characteristic of an operation.
Fields
error: Option<f32>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<f32>>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: f32The characteristic value measured.
Implementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl UnwindSafe for Characteristic
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more