pub struct MID0041rev2 {
pub tool_serial_number: String,
pub number_of_tightenings: u32,
pub last_calibration_date: DateTime<Local>,
pub controller_serial_number: String,
pub calibration_value: u32,
pub last_service_date: DateTime<Local>,
pub tightenings_since_service: u32,
pub tool_type: u8,
}
Fields§
§tool_serial_number: String
The serial number of the tool
number_of_tightenings: u32
The number of tightenings performed with this tool
last_calibration_date: DateTime<Local>
The date of the last calibration of the tool
controller_serial_number: String
The serial number of the controller or RBU type
calibration_value: u32
Calibration value of the tool
last_service_date: DateTime<Local>
Date of the last service for the tool
tightenings_since_service: u32
Number of tightenings since the last service
tool_type: u8
Type of tool
Trait Implementations§
Source§impl Debug for MID0041rev2
impl Debug for MID0041rev2
Source§impl Decode for MID0041rev2
impl Decode for MID0041rev2
Source§impl Default for MID0041rev2
impl Default for MID0041rev2
Source§fn default() -> MID0041rev2
fn default() -> MID0041rev2
Returns the “default value” for a type. Read more
Source§impl Encode for MID0041rev2
impl Encode for MID0041rev2
Source§impl Message for MID0041rev2
impl Message for MID0041rev2
fn mid() -> u16
fn to_mid(&self) -> u16
fn revision() -> u16
fn to_revision(&self) -> u16
fn message_type() -> MessageType
fn to_message_type(&self) -> MessageType
Source§impl PartialEq for MID0041rev2
impl PartialEq for MID0041rev2
impl Eq for MID0041rev2
impl StructuralPartialEq for MID0041rev2
Auto Trait Implementations§
impl Freeze for MID0041rev2
impl RefUnwindSafe for MID0041rev2
impl Send for MID0041rev2
impl Sync for MID0041rev2
impl Unpin for MID0041rev2
impl UnwindSafe for MID0041rev2
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