pub enum Register {
Active(Direction),
Reactive(Quadrant),
}Expand description
Electrical register families in TR-03109-1 v2.0, table 3.43.
Variants§
Implementations§
Source§impl Register
impl Register
pub const fn energy_obis(self) -> [u8; 6]
pub const fn demand_obis(self) -> [u8; 6]
pub const fn maximum_obis(self) -> [u8; 6]
Trait Implementations§
impl Copy for Register
impl Eq for Register
impl StructuralPartialEq for Register
Auto Trait Implementations§
impl Freeze for Register
impl RefUnwindSafe for Register
impl Send for Register
impl Sync for Register
impl Unpin for Register
impl UnsafeUnpin for Register
impl UnwindSafe for Register
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