Struct m_bus_parser::user_data::data_information::DataInformation
source · pub struct DataInformation {
pub storage_number: u64,
pub function_field: FunctionField,
pub data_field_coding: DataFieldCoding,
pub data_information_extension: Option<DataInformationExtension>,
pub size: u32,
}
Fields§
§storage_number: u64
§function_field: FunctionField
§data_field_coding: DataFieldCoding
§data_information_extension: Option<DataInformationExtension>
§size: u32
Implementations§
source§impl DataInformation
impl DataInformation
pub fn new(data: &[u8]) -> Result<Self, DataInformationError>
Trait Implementations§
source§impl Clone for DataInformation
impl Clone for DataInformation
source§fn clone(&self) -> DataInformation
fn clone(&self) -> DataInformation
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 DataInformation
impl Debug for DataInformation
source§impl PartialEq for DataInformation
impl PartialEq for DataInformation
source§fn eq(&self, other: &DataInformation) -> bool
fn eq(&self, other: &DataInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataInformation
Auto Trait Implementations§
impl RefUnwindSafe for DataInformation
impl Send for DataInformation
impl Sync for DataInformation
impl Unpin for DataInformation
impl UnwindSafe for DataInformation
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