pub struct LossCompensation<'a> {
pub name: Option<Cow<'a, str>>,
pub id: Option<Number<'a>>,
pub resistance: Option<Number<'a>>,
pub unit: Option<Unit<'a>>,
}Expand description
LC — the cable-loss compensation the meter applied [OCMF Tab. 24].
Fields§
§name: Option<Cow<'a, str>>LN — a traceability text for the characteristics used.
id: Option<Number<'a>>LI — a traceability identifier from the meter’s documentation.
resistance: Option<Number<'a>>LR — the cable resistance used. Mandatory [OCMF Tab. 24], and
None when the record omitted it or wrote something that is not a
number; both are reported.
unit: Option<Unit<'a>>LU — the unit of LR: mOhm or uOhm. Mandatory, and None on the
same terms as Self::resistance.
Implementations§
Source§impl<'a> LossCompensation<'a>
impl<'a> LossCompensation<'a>
Sourcepub const KNOWN_KEYS: [&'static str; 4]
pub const KNOWN_KEYS: [&'static str; 4]
Keys [OCMF Tab. 24] defines.
Trait Implementations§
Source§impl<'a> Clone for LossCompensation<'a>
impl<'a> Clone for LossCompensation<'a>
Auto Trait Implementations§
impl<'a> Forget for LossCompensation<'a>
impl<'a> Freeze for LossCompensation<'a>
impl<'a> Move for LossCompensation<'a>
impl<'a> RefUnwindSafe for LossCompensation<'a>
impl<'a> Send for LossCompensation<'a>
impl<'a> Sync for LossCompensation<'a>
impl<'a> Unpin for LossCompensation<'a>
impl<'a> UnsafeUnpin for LossCompensation<'a>
impl<'a> UnwindSafe for LossCompensation<'a>
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