pub struct VehicleIdentificationResponse {
pub vin: [u8; 17],
pub logical_address: [u8; 2],
pub eid: [u8; 6],
pub gid: Option<[u8; 6]>,
pub further_action: FurtherActionRequired,
pub vin_gid_sync_status: VinGidSyncStatus,
}Expand description
Vehicle identiifcation response / Vehicle announcement
Fields§
§vin: [u8; 17]Vehicle Identification Number
logical_address: [u8; 2]§eid: [u8; 6]Unique entitiy identification (EID), e.g. MAC address of network interface.
gid: Option<[u8; 6]>None when value not set (as indicated by 0x00 or 0xFF).
further_action: FurtherActionRequired§vin_gid_sync_status: VinGidSyncStatusIndicates whether all entites have synced information about VIN or GID.
Implementations§
Trait Implementations§
Source§impl Clone for VehicleIdentificationResponse
impl Clone for VehicleIdentificationResponse
Source§fn clone(&self) -> VehicleIdentificationResponse
fn clone(&self) -> VehicleIdentificationResponse
Returns a duplicate 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 PartialEq for VehicleIdentificationResponse
impl PartialEq for VehicleIdentificationResponse
Source§fn eq(&self, other: &VehicleIdentificationResponse) -> bool
fn eq(&self, other: &VehicleIdentificationResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VehicleIdentificationResponse
impl StructuralPartialEq for VehicleIdentificationResponse
Auto Trait Implementations§
impl Freeze for VehicleIdentificationResponse
impl RefUnwindSafe for VehicleIdentificationResponse
impl Send for VehicleIdentificationResponse
impl Sync for VehicleIdentificationResponse
impl Unpin for VehicleIdentificationResponse
impl UnwindSafe for VehicleIdentificationResponse
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