Struct m_bus_parser::user_data::variable_user_data::DataRecord
source · pub struct DataRecord { /* private fields */ }
Implementations§
source§impl DataRecord
impl DataRecord
pub fn new(data: &[u8]) -> Result<DataRecord, DataRecordError>
Trait Implementations§
source§impl Clone for DataRecord
impl Clone for DataRecord
source§fn clone(&self) -> DataRecord
fn clone(&self) -> DataRecord
Returns a copy of the value. Read more
1.0.0 · 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 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 ==
.impl StructuralPartialEq for DataRecord
Auto Trait Implementations§
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