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,
}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
sourceimpl Characteristic
impl Characteristic
Trait Implementations
sourceimpl Clone for Characteristic
impl Clone for Characteristic
sourcefn clone(&self) -> Characteristic
fn clone(&self) -> Characteristic
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Characteristic
impl Debug for Characteristic
sourceimpl Default for Characteristic
impl Default for Characteristic
sourcefn default() -> Characteristic
fn default() -> Characteristic
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Characteristic
impl<'de> Deserialize<'de> for Characteristic
sourcefn 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
sourceimpl PartialEq<Characteristic> for Characteristic
impl PartialEq<Characteristic> for Characteristic
sourcefn eq(&self, other: &Characteristic) -> bool
fn eq(&self, other: &Characteristic) -> bool
sourceimpl Serialize for Characteristic
impl Serialize for Characteristic
impl StructuralPartialEq for Characteristic
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more