Struct m_bus_parser::user_data::data_record::DataRecord
source · pub struct DataRecord {
pub data_record_header: DataRecordHeader,
pub data: Data,
}Fields§
§data_record_header: DataRecordHeader§data: DataImplementations§
Trait Implementations§
source§impl Debug for DataRecord
impl Debug for DataRecord
source§impl PartialEq for DataRecord
impl PartialEq for DataRecord
source§fn eq(&self, other: &DataRecord) -> bool
fn eq(&self, other: &DataRecord) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&[u8]> for DataRecord
impl TryFrom<&[u8]> for DataRecord
§type Error = DataRecordError
type Error = DataRecordError
The type returned in the event of a conversion error.
source§fn try_from(data: &[u8]) -> Result<DataRecord, DataRecordError>
fn try_from(data: &[u8]) -> Result<DataRecord, DataRecordError>
Performs the conversion.
impl StructuralPartialEq for DataRecord
Auto Trait Implementations§
impl Freeze for DataRecord
impl RefUnwindSafe for DataRecord
impl Send for DataRecord
impl Sync for DataRecord
impl Unpin for DataRecord
impl UnwindSafe for DataRecord
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