Struct dpdu_rust::VersionData
source · [−]#[repr(C)]pub struct VersionData {Show 14 fields
pub mvci_part1_standard_version: u32,
pub mvci_part2_standard_version: u32,
pub hw_serial_number: u32,
pub hw_name: [u8; 64],
pub hw_version: u32,
pub hw_data: u32,
pub hw_inferface: u32,
pub fw_name: [u8; 64],
pub fw_version: u32,
pub fw_date: u32,
pub vendor_name: [u8; 64],
pub pdu_api_sw_name: [u8; 64],
pub pdu_api_sw_version: u32,
pub pdi_api_sw_date: u32,
}
Expand description
Version information
Fields
mvci_part1_standard_version: u32
Release version of MVCI standard part 1 (Bit encoded)
mvci_part2_standard_version: u32
Release version of MVCI standard part 2 (Bit encoded)
hw_serial_number: u32
Hardware serial number from vendor
hw_name: [u8; 64]
Hardware name
hw_version: u32
Hardware version (Bit encoded)
hw_data: u32
hardware date (Bit encoded)
hw_inferface: u32
Type of MVCI module
fw_name: [u8; 64]
MVCI Firmware name
fw_version: u32
MVCI firmware version (Bit encoded)
fw_date: u32
MVCI firmware date (Bit encoded)
vendor_name: [u8; 64]
MVCI vendor name
pdu_api_sw_name: [u8; 64]
PDU API software name
pdu_api_sw_version: u32
PDU API software version (Bit encoded)
pdi_api_sw_date: u32
PDU API software date (Bit encoded)
Trait Implementations
sourceimpl Clone for VersionData
impl Clone for VersionData
sourcefn clone(&self) -> VersionData
fn clone(&self) -> VersionData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VersionData
impl Debug for VersionData
sourceimpl Ord for VersionData
impl Ord for VersionData
sourceimpl PartialEq<VersionData> for VersionData
impl PartialEq<VersionData> for VersionData
sourcefn eq(&self, other: &VersionData) -> bool
fn eq(&self, other: &VersionData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VersionData) -> bool
fn ne(&self, other: &VersionData) -> bool
This method tests for !=
.
sourceimpl PartialOrd<VersionData> for VersionData
impl PartialOrd<VersionData> for VersionData
sourcefn partial_cmp(&self, other: &VersionData) -> Option<Ordering>
fn partial_cmp(&self, other: &VersionData) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for VersionData
impl Eq for VersionData
impl StructuralEq for VersionData
impl StructuralPartialEq for VersionData
Auto Trait Implementations
impl RefUnwindSafe for VersionData
impl Send for VersionData
impl Sync for VersionData
impl Unpin for VersionData
impl UnwindSafe for VersionData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more