pub struct ListEntry<'i> {
pub obj_name: OctetStr<'i>,
pub status: Option<Status>,
pub val_time: Option<Time>,
pub unit: Option<Unit>,
pub scaler: Option<i8>,
pub value: Value<'i>,
pub value_signature: Option<Signature<'i>>,
}
Expand description
SML ListEntry type
Fields§
§obj_name: OctetStr<'i>
name of the entry
status: Option<Status>
status of the entry, content is unspecified in SML
val_time: Option<Time>
time when the value was obtained
unit: Option<Unit>
code of the value’s unit according to DLMS-Unit-List (see IEC 62056-62)
scaler: Option<i8>
scaler of the value. Calculation: value = self.value * 10 ^ self.scaler
value: Value<'i>
the raw value. See scaler
and unit
for how to interpret the value
value_signature: Option<Signature<'i>>
signature of the value?!
Trait Implementations§
impl<'i> Eq for ListEntry<'i>
impl<'i> StructuralPartialEq for ListEntry<'i>
Auto Trait Implementations§
impl<'i> Freeze for ListEntry<'i>
impl<'i> RefUnwindSafe for ListEntry<'i>
impl<'i> Send for ListEntry<'i>
impl<'i> Sync for ListEntry<'i>
impl<'i> Unpin for ListEntry<'i>
impl<'i> UnwindSafe for ListEntry<'i>
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