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