pub struct MeterStatus {
pub meter_uid: Vec<u8>,
pub last_success: Vec<u8>,
pub last_attempt: Vec<u8>,
pub relay_state: u8,
pub relay_mode: u8,
pub power_limit: u8,
pub last_meter_time: Vec<u8>,
pub relay_state_time: Vec<u8>,
pub relay_mode_time: Vec<u8>,
pub power_limit_time: Vec<u8>,
pub current_time_fix: Vec<u8>,
pub load_profile_period: u16,
}Expand description
One meter’s status row (§10.8, Table 7).
Fields§
§meter_uid: Vec<u8>Unique meter identifier.
last_success: Vec<u8>Time of the last successful session (date-time octets).
last_attempt: Vec<u8>Time of the last session attempt (date-time octets).
relay_state: u8Current relay state.
relay_mode: u8Current relay control mode.
power_limit: u8Current power limit.
last_meter_time: Vec<u8>Last read meter time (date-time octets).
relay_state_time: Vec<u8>Relay-state fix time (date-time octets).
relay_mode_time: Vec<u8>Relay-mode fix time (date-time octets).
power_limit_time: Vec<u8>Power-limit fix time (date-time octets).
current_time_fix: Vec<u8>Current-time fix time (date-time octets).
load_profile_period: u16Load-profile period.
Implementations§
Source§impl MeterStatus
impl MeterStatus
fn to_row(&self) -> CosemDataType
Trait Implementations§
Source§impl Clone for MeterStatus
impl Clone for MeterStatus
Source§fn clone(&self) -> MeterStatus
fn clone(&self) -> MeterStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeterStatus
impl Debug for MeterStatus
Source§impl Default for MeterStatus
impl Default for MeterStatus
Source§fn default() -> MeterStatus
fn default() -> MeterStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MeterStatus
impl RefUnwindSafe for MeterStatus
impl Send for MeterStatus
impl Sync for MeterStatus
impl Unpin for MeterStatus
impl UnsafeUnpin for MeterStatus
impl UnwindSafe for MeterStatus
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