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<DataInformationExtensionField>,
pub size: usize,
}Fields§
§storage_number: u64§function_field: FunctionField§data_field_coding: DataFieldCoding§data_information_extension: Option<DataInformationExtensionField>§size: usizeImplementations§
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 ==.source§impl TryFrom<&DataInformationBlock> for DataInformation
impl TryFrom<&DataInformationBlock> for DataInformation
§type Error = DataInformationError
type Error = DataInformationError
The type returned in the event of a conversion error.
source§fn try_from(
data_information_block: &DataInformationBlock,
) -> Result<Self, DataInformationError>
fn try_from( data_information_block: &DataInformationBlock, ) -> Result<Self, DataInformationError>
Performs the conversion.
impl StructuralPartialEq for DataInformation
Auto Trait Implementations§
impl Freeze for DataInformation
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