pub struct AccumulatorValue {
pub base: MeasurementValue,
pub accumulator: Option<MridRef>,
}Expand description
AccumulatorValue represents an accumulated (counted) MeasurementValue.
Fields§
§base: MeasurementValue§accumulator: Option<MridRef>Measurement to which this value is connected.
Implementations§
Source§impl AccumulatorValue
impl AccumulatorValue
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for AccumulatorValue
impl CimElement for AccumulatorValue
Source§impl Clone for AccumulatorValue
impl Clone for AccumulatorValue
Source§fn clone(&self) -> AccumulatorValue
fn clone(&self) -> AccumulatorValue
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 AccumulatorValue
impl Debug for AccumulatorValue
Source§impl Default for AccumulatorValue
impl Default for AccumulatorValue
Source§fn default() -> AccumulatorValue
fn default() -> AccumulatorValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccumulatorValue
impl<'de> Deserialize<'de> for AccumulatorValue
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
Auto Trait Implementations§
impl Freeze for AccumulatorValue
impl RefUnwindSafe for AccumulatorValue
impl Send for AccumulatorValue
impl Sync for AccumulatorValue
impl Unpin for AccumulatorValue
impl UnsafeUnpin for AccumulatorValue
impl UnwindSafe for AccumulatorValue
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