pub struct Dib {
pub dif: u8,
pub function: Function,
pub data: DataField,
pub storage: u64,
pub tariff: u32,
pub subunit: u16,
}Expand description
The data information block: what kind of value, which storage, tariff and subunit.
Fields§
§dif: u8The DIF byte.
function: FunctionInstantaneous, maximum, minimum or during error.
data: DataFieldHow the value is coded.
storage: u64Storage number: 0 is the current value, higher numbers are historic values.
tariff: u32Tariff.
subunit: u16Subunit (device unit).
Trait Implementations§
impl Copy for Dib
impl Eq for Dib
impl StructuralPartialEq for Dib
Auto Trait Implementations§
impl Forget for Dib
impl Freeze for Dib
impl Move for Dib
impl RefUnwindSafe for Dib
impl Send for Dib
impl Sync for Dib
impl Unpin for Dib
impl UnsafeUnpin for Dib
impl UnwindSafe for Dib
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