doip_definitions/doip_payload/vehicle_identification_request.rs
1/// Used to request a `VehicleAnnouncement` from all available `DoIP` entities
2/// on the network.
3#[cfg_attr(feature = "python-bindings", pyo3::pyclass)]
4#[derive(Copy, Clone, Debug, PartialEq)]
5pub struct VehicleIdentificationRequest {}
6
7impl From<VehicleIdentificationRequest> for [u8; 0] {
8 fn from(_: VehicleIdentificationRequest) -> Self {
9 []
10 }
11}
12
13impl From<&[u8]> for VehicleIdentificationRequest {
14 fn from(_: &[u8]) -> Self {
15 VehicleIdentificationRequest {}
16 }
17}