pub struct ExchangeRecord {
pub task_id: u32,
pub meter_uid: Vec<u8>,
pub start: Vec<u8>,
pub status: u8,
pub end: Vec<u8>,
pub attempts: u8,
}Expand description
One data-exchange-status record (§10.9, Table 8).
Fields§
§task_id: u32task_id — task identifier.
meter_uid: Vec<u8>Meter unique identifier.
start: Vec<u8>Task start time, as date-time octets.
status: u8Task status (see exchange_status).
end: Vec<u8>Task end time, as date-time octets.
attempts: u8Number of attempts.
Implementations§
Source§impl ExchangeRecord
impl ExchangeRecord
fn to_entry(&self) -> CosemDataType
Trait Implementations§
Source§impl Clone for ExchangeRecord
impl Clone for ExchangeRecord
Source§fn clone(&self) -> ExchangeRecord
fn clone(&self) -> ExchangeRecord
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 ExchangeRecord
impl Debug for ExchangeRecord
Source§impl Default for ExchangeRecord
impl Default for ExchangeRecord
Source§fn default() -> ExchangeRecord
fn default() -> ExchangeRecord
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExchangeRecord
impl RefUnwindSafe for ExchangeRecord
impl Send for ExchangeRecord
impl Sync for ExchangeRecord
impl Unpin for ExchangeRecord
impl UnsafeUnpin for ExchangeRecord
impl UnwindSafe for ExchangeRecord
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