Trait sep2_common::traits::SEReadingBase
source · pub trait SEReadingBase: SEResource {
// Required methods
fn consumption_block(&self) -> Option<ConsumptionBlockType>;
fn quality_flags(&self) -> Option<QualityFlags>;
fn time_period(&self) -> Option<&DateTimeInterval>;
fn tou_tier(&self) -> Option<TOUType>;
fn value(&self) -> Option<Int48>;
}
Available on crate feature
metering_mirror
only.Expand description
Implemented by all types whose base type is ReadingBase
Required Methods§
fn consumption_block(&self) -> Option<ConsumptionBlockType>
fn quality_flags(&self) -> Option<QualityFlags>
fn time_period(&self) -> Option<&DateTimeInterval>
fn tou_tier(&self) -> Option<TOUType>
fn value(&self) -> Option<Int48>
Implementors§
impl SEReadingBase for BillingReading
Available on crate feature
billing
only.impl SEReadingBase for Reading
Available on crate feature
metering
only.