pub struct TupelEntry<'a> {
pub server_id: ServerId<'a>,
pub sec_index: Time,
pub status: u64,
pub a_plus: Register,
pub r1: Register,
pub r4: Register,
pub signature_a_plus: &'a [u8],
pub a_minus: Register,
pub r2: Register,
pub r3: Register,
pub signature_a_minus: &'a [u8],
}Expand description
SML_TupelEntry: a signed set of registers (A+, R1, R4 and A−, R2, R3). 23 fields on
the wire.
Fields§
§server_id: ServerId<'a>The device.
sec_index: TimeWhen the registers were captured.
status: u64Device status bits.
a_plus: RegisterActive energy import (A+).
r1: RegisterReactive energy, quadrant I (R1).
r4: RegisterReactive energy, quadrant IV (R4).
signature_a_plus: &'a [u8]Signature over A+, R1 and R4. Not verified by this crate.
a_minus: RegisterActive energy export (A−).
r2: RegisterReactive energy, quadrant II (R2).
r3: RegisterReactive energy, quadrant III (R3).
signature_a_minus: &'a [u8]Signature over A−, R2 and R3. Not verified by this crate.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for TupelEntry<'a>
impl<'a> Clone for TupelEntry<'a>
impl<'a> Copy for TupelEntry<'a>
Source§impl<'a> Debug for TupelEntry<'a>
impl<'a> Debug for TupelEntry<'a>
impl<'a> Eq for TupelEntry<'a>
Source§impl<'a> Hash for TupelEntry<'a>
impl<'a> Hash for TupelEntry<'a>
Source§impl<'a> PartialEq for TupelEntry<'a>
impl<'a> PartialEq for TupelEntry<'a>
impl<'a> StructuralPartialEq for TupelEntry<'a>
Auto Trait Implementations§
impl<'a> Forget for TupelEntry<'a>
impl<'a> Freeze for TupelEntry<'a>
impl<'a> Move for TupelEntry<'a>
impl<'a> RefUnwindSafe for TupelEntry<'a>
impl<'a> Send for TupelEntry<'a>
impl<'a> Sync for TupelEntry<'a>
impl<'a> Unpin for TupelEntry<'a>
impl<'a> UnsafeUnpin for TupelEntry<'a>where
&'a [u8]: UnsafeUnpin,
impl<'a> UnwindSafe for TupelEntry<'a>where
&'a [u8]: UnwindSafe,
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