pub struct NumericJournal {
records: Vec<NumericRecord>,
}Expand description
The numeric meter journal (§10.11).
Fields§
§records: Vec<NumericRecord>Implementations§
Source§impl NumericJournal
impl NumericJournal
Sourcepub fn record(&mut self, record: NumericRecord)
pub fn record(&mut self, record: NumericRecord)
Records a disaggregated meter reading.
Sourcepub fn build(&self) -> ProfileGeneric
pub fn build(&self) -> ProfileGeneric
Builds the COSEM ProfileGeneric (IC 7, v1) object (§10.11).
Trait Implementations§
Source§impl Clone for NumericJournal
impl Clone for NumericJournal
Source§fn clone(&self) -> NumericJournal
fn clone(&self) -> NumericJournal
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 NumericJournal
impl Debug for NumericJournal
Source§impl Default for NumericJournal
impl Default for NumericJournal
Source§fn default() -> NumericJournal
fn default() -> NumericJournal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NumericJournal
impl RefUnwindSafe for NumericJournal
impl Send for NumericJournal
impl Sync for NumericJournal
impl Unpin for NumericJournal
impl UnsafeUnpin for NumericJournal
impl UnwindSafe for NumericJournal
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