doip_definitions/doip_payload/power_information_request.rs
1/// Requests the power mode status of a `DoIP` Entity.
2#[cfg_attr(feature = "python-bindings", pyo3::pyclass)]
3#[derive(Copy, Clone, Debug, PartialEq)]
4pub struct PowerInformationRequest {}
5
6impl From<PowerInformationRequest> for [u8; 0] {
7 fn from(_: PowerInformationRequest) -> Self {
8 []
9 }
10}
11
12impl From<&[u8]> for PowerInformationRequest {
13 fn from(_: &[u8]) -> Self {
14 PowerInformationRequest {}
15 }
16}