EspHomeMessage

Enum EspHomeMessage 

Source
pub enum EspHomeMessage {
Show 127 variants HelloRequest(HelloRequest), HelloResponse(HelloResponse), ConnectRequest(ConnectRequest), ConnectResponse(ConnectResponse), DisconnectRequest(DisconnectRequest), DisconnectResponse(DisconnectResponse), PingRequest(PingRequest), PingResponse(PingResponse), DeviceInfoRequest(DeviceInfoRequest), DeviceInfoResponse(DeviceInfoResponse), ListEntitiesRequest(ListEntitiesRequest), ListEntitiesDoneResponse(ListEntitiesDoneResponse), SubscribeStatesRequest(SubscribeStatesRequest), ListEntitiesBinarySensorResponse(ListEntitiesBinarySensorResponse), BinarySensorStateResponse(BinarySensorStateResponse), ListEntitiesCoverResponse(ListEntitiesCoverResponse), CoverStateResponse(CoverStateResponse), CoverCommandRequest(CoverCommandRequest), ListEntitiesFanResponse(ListEntitiesFanResponse), FanStateResponse(FanStateResponse), FanCommandRequest(FanCommandRequest), ListEntitiesLightResponse(ListEntitiesLightResponse), LightStateResponse(LightStateResponse), LightCommandRequest(LightCommandRequest), ListEntitiesSensorResponse(ListEntitiesSensorResponse), SensorStateResponse(SensorStateResponse), ListEntitiesSwitchResponse(ListEntitiesSwitchResponse), SwitchStateResponse(SwitchStateResponse), SwitchCommandRequest(SwitchCommandRequest), ListEntitiesTextSensorResponse(ListEntitiesTextSensorResponse), TextSensorStateResponse(TextSensorStateResponse), SubscribeLogsRequest(SubscribeLogsRequest), SubscribeLogsResponse(SubscribeLogsResponse), NoiseEncryptionSetKeyRequest(NoiseEncryptionSetKeyRequest), NoiseEncryptionSetKeyResponse(NoiseEncryptionSetKeyResponse), SubscribeHomeassistantServicesRequest(SubscribeHomeassistantServicesRequest), HomeassistantServiceResponse(HomeassistantServiceResponse), SubscribeHomeAssistantStatesRequest(SubscribeHomeAssistantStatesRequest), SubscribeHomeAssistantStateResponse(SubscribeHomeAssistantStateResponse), HomeAssistantStateResponse(HomeAssistantStateResponse), GetTimeRequest(GetTimeRequest), GetTimeResponse(GetTimeResponse), ListEntitiesServicesResponse(ListEntitiesServicesResponse), ExecuteServiceRequest(ExecuteServiceRequest), ListEntitiesCameraResponse(ListEntitiesCameraResponse), CameraImageResponse(CameraImageResponse), CameraImageRequest(CameraImageRequest), ListEntitiesClimateResponse(ListEntitiesClimateResponse), ClimateStateResponse(ClimateStateResponse), ClimateCommandRequest(ClimateCommandRequest), ListEntitiesNumberResponse(ListEntitiesNumberResponse), NumberStateResponse(NumberStateResponse), NumberCommandRequest(NumberCommandRequest), ListEntitiesSelectResponse(ListEntitiesSelectResponse), SelectStateResponse(SelectStateResponse), SelectCommandRequest(SelectCommandRequest), ListEntitiesSirenResponse(ListEntitiesSirenResponse), SirenStateResponse(SirenStateResponse), SirenCommandRequest(SirenCommandRequest), ListEntitiesLockResponse(ListEntitiesLockResponse), LockStateResponse(LockStateResponse), LockCommandRequest(LockCommandRequest), ListEntitiesButtonResponse(ListEntitiesButtonResponse), ButtonCommandRequest(ButtonCommandRequest), ListEntitiesMediaPlayerResponse(ListEntitiesMediaPlayerResponse), MediaPlayerStateResponse(MediaPlayerStateResponse), MediaPlayerCommandRequest(MediaPlayerCommandRequest), SubscribeBluetoothLeAdvertisementsRequest(SubscribeBluetoothLeAdvertisementsRequest), BluetoothLeAdvertisementResponse(BluetoothLeAdvertisementResponse), BluetoothLeRawAdvertisementsResponse(BluetoothLeRawAdvertisementsResponse), BluetoothDeviceRequest(BluetoothDeviceRequest), BluetoothDeviceConnectionResponse(BluetoothDeviceConnectionResponse), BluetoothGattGetServicesRequest(BluetoothGattGetServicesRequest), BluetoothGattGetServicesResponse(BluetoothGattGetServicesResponse), BluetoothGattGetServicesDoneResponse(BluetoothGattGetServicesDoneResponse), BluetoothGattReadRequest(BluetoothGattReadRequest), BluetoothGattReadResponse(BluetoothGattReadResponse), BluetoothGattWriteRequest(BluetoothGattWriteRequest), BluetoothGattReadDescriptorRequest(BluetoothGattReadDescriptorRequest), BluetoothGattWriteDescriptorRequest(BluetoothGattWriteDescriptorRequest), BluetoothGattNotifyRequest(BluetoothGattNotifyRequest), BluetoothGattNotifyDataResponse(BluetoothGattNotifyDataResponse), SubscribeBluetoothConnectionsFreeRequest(SubscribeBluetoothConnectionsFreeRequest), BluetoothConnectionsFreeResponse(BluetoothConnectionsFreeResponse), BluetoothGattErrorResponse(BluetoothGattErrorResponse), BluetoothGattWriteResponse(BluetoothGattWriteResponse), BluetoothGattNotifyResponse(BluetoothGattNotifyResponse), BluetoothDevicePairingResponse(BluetoothDevicePairingResponse), BluetoothDeviceUnpairingResponse(BluetoothDeviceUnpairingResponse), UnsubscribeBluetoothLeAdvertisementsRequest(UnsubscribeBluetoothLeAdvertisementsRequest), BluetoothDeviceClearCacheResponse(BluetoothDeviceClearCacheResponse), BluetoothScannerStateResponse(BluetoothScannerStateResponse), BluetoothScannerSetModeRequest(BluetoothScannerSetModeRequest), SubscribeVoiceAssistantRequest(SubscribeVoiceAssistantRequest), VoiceAssistantRequest(VoiceAssistantRequest), VoiceAssistantResponse(VoiceAssistantResponse), VoiceAssistantEventResponse(VoiceAssistantEventResponse), VoiceAssistantAudio(VoiceAssistantAudio), VoiceAssistantTimerEventResponse(VoiceAssistantTimerEventResponse), VoiceAssistantAnnounceRequest(VoiceAssistantAnnounceRequest), VoiceAssistantAnnounceFinished(VoiceAssistantAnnounceFinished), VoiceAssistantConfigurationRequest(VoiceAssistantConfigurationRequest), VoiceAssistantConfigurationResponse(VoiceAssistantConfigurationResponse), VoiceAssistantSetConfiguration(VoiceAssistantSetConfiguration), ListEntitiesAlarmControlPanelResponse(ListEntitiesAlarmControlPanelResponse), AlarmControlPanelStateResponse(AlarmControlPanelStateResponse), AlarmControlPanelCommandRequest(AlarmControlPanelCommandRequest), ListEntitiesTextResponse(ListEntitiesTextResponse), TextStateResponse(TextStateResponse), TextCommandRequest(TextCommandRequest), ListEntitiesDateResponse(ListEntitiesDateResponse), DateStateResponse(DateStateResponse), DateCommandRequest(DateCommandRequest), ListEntitiesTimeResponse(ListEntitiesTimeResponse), TimeStateResponse(TimeStateResponse), TimeCommandRequest(TimeCommandRequest), ListEntitiesEventResponse(ListEntitiesEventResponse), EventResponse(EventResponse), ListEntitiesValveResponse(ListEntitiesValveResponse), ValveStateResponse(ValveStateResponse), ValveCommandRequest(ValveCommandRequest), ListEntitiesDateTimeResponse(ListEntitiesDateTimeResponse), DateTimeStateResponse(DateTimeStateResponse), DateTimeCommandRequest(DateTimeCommandRequest), ListEntitiesUpdateResponse(ListEntitiesUpdateResponse), UpdateStateResponse(UpdateStateResponse), UpdateCommandRequest(UpdateCommandRequest),
}

Variants§

§

HelloRequest(HelloRequest)

§

HelloResponse(HelloResponse)

§

ConnectRequest(ConnectRequest)

§

ConnectResponse(ConnectResponse)

§

DisconnectRequest(DisconnectRequest)

§

DisconnectResponse(DisconnectResponse)

§

PingRequest(PingRequest)

§

PingResponse(PingResponse)

§

DeviceInfoRequest(DeviceInfoRequest)

§

DeviceInfoResponse(DeviceInfoResponse)

§

ListEntitiesRequest(ListEntitiesRequest)

§

ListEntitiesDoneResponse(ListEntitiesDoneResponse)

§

SubscribeStatesRequest(SubscribeStatesRequest)

§

ListEntitiesBinarySensorResponse(ListEntitiesBinarySensorResponse)

§

BinarySensorStateResponse(BinarySensorStateResponse)

§

ListEntitiesCoverResponse(ListEntitiesCoverResponse)

§

CoverStateResponse(CoverStateResponse)

§

CoverCommandRequest(CoverCommandRequest)

§

ListEntitiesFanResponse(ListEntitiesFanResponse)

§

FanStateResponse(FanStateResponse)

§

FanCommandRequest(FanCommandRequest)

§

ListEntitiesLightResponse(ListEntitiesLightResponse)

§

LightStateResponse(LightStateResponse)

§

LightCommandRequest(LightCommandRequest)

§

ListEntitiesSensorResponse(ListEntitiesSensorResponse)

§

SensorStateResponse(SensorStateResponse)

§

ListEntitiesSwitchResponse(ListEntitiesSwitchResponse)

§

SwitchStateResponse(SwitchStateResponse)

§

SwitchCommandRequest(SwitchCommandRequest)

§

ListEntitiesTextSensorResponse(ListEntitiesTextSensorResponse)

§

TextSensorStateResponse(TextSensorStateResponse)

§

SubscribeLogsRequest(SubscribeLogsRequest)

§

SubscribeLogsResponse(SubscribeLogsResponse)

§

NoiseEncryptionSetKeyRequest(NoiseEncryptionSetKeyRequest)

§

NoiseEncryptionSetKeyResponse(NoiseEncryptionSetKeyResponse)

§

SubscribeHomeassistantServicesRequest(SubscribeHomeassistantServicesRequest)

§

HomeassistantServiceResponse(HomeassistantServiceResponse)

§

SubscribeHomeAssistantStatesRequest(SubscribeHomeAssistantStatesRequest)

§

SubscribeHomeAssistantStateResponse(SubscribeHomeAssistantStateResponse)

§

HomeAssistantStateResponse(HomeAssistantStateResponse)

§

GetTimeRequest(GetTimeRequest)

§

GetTimeResponse(GetTimeResponse)

§

ListEntitiesServicesResponse(ListEntitiesServicesResponse)

§

ExecuteServiceRequest(ExecuteServiceRequest)

§

ListEntitiesCameraResponse(ListEntitiesCameraResponse)

§

CameraImageResponse(CameraImageResponse)

§

CameraImageRequest(CameraImageRequest)

§

ListEntitiesClimateResponse(ListEntitiesClimateResponse)

§

ClimateStateResponse(ClimateStateResponse)

§

ClimateCommandRequest(ClimateCommandRequest)

§

ListEntitiesNumberResponse(ListEntitiesNumberResponse)

§

NumberStateResponse(NumberStateResponse)

§

NumberCommandRequest(NumberCommandRequest)

§

ListEntitiesSelectResponse(ListEntitiesSelectResponse)

§

SelectStateResponse(SelectStateResponse)

§

SelectCommandRequest(SelectCommandRequest)

§

ListEntitiesSirenResponse(ListEntitiesSirenResponse)

§

SirenStateResponse(SirenStateResponse)

§

SirenCommandRequest(SirenCommandRequest)

§

ListEntitiesLockResponse(ListEntitiesLockResponse)

§

LockStateResponse(LockStateResponse)

§

LockCommandRequest(LockCommandRequest)

§

ListEntitiesButtonResponse(ListEntitiesButtonResponse)

§

ButtonCommandRequest(ButtonCommandRequest)

§

ListEntitiesMediaPlayerResponse(ListEntitiesMediaPlayerResponse)

§

MediaPlayerStateResponse(MediaPlayerStateResponse)

§

MediaPlayerCommandRequest(MediaPlayerCommandRequest)

§

SubscribeBluetoothLeAdvertisementsRequest(SubscribeBluetoothLeAdvertisementsRequest)

§

BluetoothLeAdvertisementResponse(BluetoothLeAdvertisementResponse)

§

BluetoothLeRawAdvertisementsResponse(BluetoothLeRawAdvertisementsResponse)

§

BluetoothDeviceRequest(BluetoothDeviceRequest)

§

BluetoothDeviceConnectionResponse(BluetoothDeviceConnectionResponse)

§

BluetoothGattGetServicesRequest(BluetoothGattGetServicesRequest)

§

BluetoothGattGetServicesResponse(BluetoothGattGetServicesResponse)

§

BluetoothGattGetServicesDoneResponse(BluetoothGattGetServicesDoneResponse)

§

BluetoothGattReadRequest(BluetoothGattReadRequest)

§

BluetoothGattReadResponse(BluetoothGattReadResponse)

§

BluetoothGattWriteRequest(BluetoothGattWriteRequest)

§

BluetoothGattReadDescriptorRequest(BluetoothGattReadDescriptorRequest)

§

BluetoothGattWriteDescriptorRequest(BluetoothGattWriteDescriptorRequest)

§

BluetoothGattNotifyRequest(BluetoothGattNotifyRequest)

§

BluetoothGattNotifyDataResponse(BluetoothGattNotifyDataResponse)

§

SubscribeBluetoothConnectionsFreeRequest(SubscribeBluetoothConnectionsFreeRequest)

§

BluetoothConnectionsFreeResponse(BluetoothConnectionsFreeResponse)

§

BluetoothGattErrorResponse(BluetoothGattErrorResponse)

§

BluetoothGattWriteResponse(BluetoothGattWriteResponse)

§

BluetoothGattNotifyResponse(BluetoothGattNotifyResponse)

§

BluetoothDevicePairingResponse(BluetoothDevicePairingResponse)

§

BluetoothDeviceUnpairingResponse(BluetoothDeviceUnpairingResponse)

§

UnsubscribeBluetoothLeAdvertisementsRequest(UnsubscribeBluetoothLeAdvertisementsRequest)

§

BluetoothDeviceClearCacheResponse(BluetoothDeviceClearCacheResponse)

§

BluetoothScannerStateResponse(BluetoothScannerStateResponse)

§

BluetoothScannerSetModeRequest(BluetoothScannerSetModeRequest)

§

SubscribeVoiceAssistantRequest(SubscribeVoiceAssistantRequest)

§

VoiceAssistantRequest(VoiceAssistantRequest)

§

VoiceAssistantResponse(VoiceAssistantResponse)

§

VoiceAssistantEventResponse(VoiceAssistantEventResponse)

§

VoiceAssistantAudio(VoiceAssistantAudio)

§

VoiceAssistantTimerEventResponse(VoiceAssistantTimerEventResponse)

§

VoiceAssistantAnnounceRequest(VoiceAssistantAnnounceRequest)

§

VoiceAssistantAnnounceFinished(VoiceAssistantAnnounceFinished)

§

VoiceAssistantConfigurationRequest(VoiceAssistantConfigurationRequest)

§

VoiceAssistantConfigurationResponse(VoiceAssistantConfigurationResponse)

§

VoiceAssistantSetConfiguration(VoiceAssistantSetConfiguration)

§

ListEntitiesAlarmControlPanelResponse(ListEntitiesAlarmControlPanelResponse)

§

AlarmControlPanelStateResponse(AlarmControlPanelStateResponse)

§

AlarmControlPanelCommandRequest(AlarmControlPanelCommandRequest)

§

ListEntitiesTextResponse(ListEntitiesTextResponse)

§

TextStateResponse(TextStateResponse)

§

TextCommandRequest(TextCommandRequest)

§

ListEntitiesDateResponse(ListEntitiesDateResponse)

§

DateStateResponse(DateStateResponse)

§

DateCommandRequest(DateCommandRequest)

§

ListEntitiesTimeResponse(ListEntitiesTimeResponse)

§

TimeStateResponse(TimeStateResponse)

§

TimeCommandRequest(TimeCommandRequest)

§

ListEntitiesEventResponse(ListEntitiesEventResponse)

§

EventResponse(EventResponse)

§

ListEntitiesValveResponse(ListEntitiesValveResponse)

§

ValveStateResponse(ValveStateResponse)

§

ValveCommandRequest(ValveCommandRequest)

§

ListEntitiesDateTimeResponse(ListEntitiesDateTimeResponse)

§

DateTimeStateResponse(DateTimeStateResponse)

§

DateTimeCommandRequest(DateTimeCommandRequest)

§

ListEntitiesUpdateResponse(ListEntitiesUpdateResponse)

§

UpdateStateResponse(UpdateStateResponse)

§

UpdateCommandRequest(UpdateCommandRequest)

Trait Implementations§

Source§

impl Clone for EspHomeMessage

Source§

fn clone(&self) -> EspHomeMessage

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EspHomeMessage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<AlarmControlPanelCommandRequest> for EspHomeMessage

Source§

fn from(msg: AlarmControlPanelCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<AlarmControlPanelStateResponse> for EspHomeMessage

Source§

fn from(msg: AlarmControlPanelStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BinarySensorStateResponse> for EspHomeMessage

Source§

fn from(msg: BinarySensorStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothConnectionsFreeResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothConnectionsFreeResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothDeviceClearCacheResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothDeviceClearCacheResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothDeviceConnectionResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothDeviceConnectionResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothDevicePairingResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothDevicePairingResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothDeviceRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothDeviceRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothDeviceUnpairingResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothDeviceUnpairingResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattErrorResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattErrorResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattGetServicesDoneResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattGetServicesDoneResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattGetServicesRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothGattGetServicesRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattGetServicesResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattGetServicesResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattNotifyDataResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattNotifyDataResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattNotifyRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothGattNotifyRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattNotifyResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattNotifyResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattReadDescriptorRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothGattReadDescriptorRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattReadRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothGattReadRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattReadResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattReadResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattWriteDescriptorRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothGattWriteDescriptorRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattWriteRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothGattWriteRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothGattWriteResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothGattWriteResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothLeAdvertisementResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothLeAdvertisementResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothLeRawAdvertisementsResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothLeRawAdvertisementsResponse) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothScannerSetModeRequest> for EspHomeMessage

Source§

fn from(msg: BluetoothScannerSetModeRequest) -> Self

Converts to this type from the input type.
Source§

impl From<BluetoothScannerStateResponse> for EspHomeMessage

Source§

fn from(msg: BluetoothScannerStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ButtonCommandRequest> for EspHomeMessage

Source§

fn from(msg: ButtonCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<CameraImageRequest> for EspHomeMessage

Source§

fn from(msg: CameraImageRequest) -> Self

Converts to this type from the input type.
Source§

impl From<CameraImageResponse> for EspHomeMessage

Source§

fn from(msg: CameraImageResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ClimateCommandRequest> for EspHomeMessage

Source§

fn from(msg: ClimateCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ClimateStateResponse> for EspHomeMessage

Source§

fn from(msg: ClimateStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectRequest> for EspHomeMessage

Source§

fn from(msg: ConnectRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectResponse> for EspHomeMessage

Source§

fn from(msg: ConnectResponse) -> Self

Converts to this type from the input type.
Source§

impl From<CoverCommandRequest> for EspHomeMessage

Source§

fn from(msg: CoverCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<CoverStateResponse> for EspHomeMessage

Source§

fn from(msg: CoverStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<DateCommandRequest> for EspHomeMessage

Source§

fn from(msg: DateCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<DateStateResponse> for EspHomeMessage

Source§

fn from(msg: DateStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<DateTimeCommandRequest> for EspHomeMessage

Source§

fn from(msg: DateTimeCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<DateTimeStateResponse> for EspHomeMessage

Source§

fn from(msg: DateTimeStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<DeviceInfoRequest> for EspHomeMessage

Source§

fn from(msg: DeviceInfoRequest) -> Self

Converts to this type from the input type.
Source§

impl From<DeviceInfoResponse> for EspHomeMessage

Source§

fn from(msg: DeviceInfoResponse) -> Self

Converts to this type from the input type.
Source§

impl From<DisconnectRequest> for EspHomeMessage

Source§

fn from(msg: DisconnectRequest) -> Self

Converts to this type from the input type.
Source§

impl From<DisconnectResponse> for EspHomeMessage

Source§

fn from(msg: DisconnectResponse) -> Self

Converts to this type from the input type.
Source§

impl From<EspHomeMessage> for Vec<u8>

Source§

fn from(val: EspHomeMessage) -> Self

Converts to this type from the input type.
Source§

impl From<EventResponse> for EspHomeMessage

Source§

fn from(msg: EventResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ExecuteServiceRequest> for EspHomeMessage

Source§

fn from(msg: ExecuteServiceRequest) -> Self

Converts to this type from the input type.
Source§

impl From<FanCommandRequest> for EspHomeMessage

Source§

fn from(msg: FanCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<FanStateResponse> for EspHomeMessage

Source§

fn from(msg: FanStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<GetTimeRequest> for EspHomeMessage

Source§

fn from(msg: GetTimeRequest) -> Self

Converts to this type from the input type.
Source§

impl From<GetTimeResponse> for EspHomeMessage

Source§

fn from(msg: GetTimeResponse) -> Self

Converts to this type from the input type.
Source§

impl From<HelloRequest> for EspHomeMessage

Source§

fn from(msg: HelloRequest) -> Self

Converts to this type from the input type.
Source§

impl From<HelloResponse> for EspHomeMessage

Source§

fn from(msg: HelloResponse) -> Self

Converts to this type from the input type.
Source§

impl From<HomeAssistantStateResponse> for EspHomeMessage

Source§

fn from(msg: HomeAssistantStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<HomeassistantServiceResponse> for EspHomeMessage

Source§

fn from(msg: HomeassistantServiceResponse) -> Self

Converts to this type from the input type.
Source§

impl From<LightCommandRequest> for EspHomeMessage

Source§

fn from(msg: LightCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<LightStateResponse> for EspHomeMessage

Source§

fn from(msg: LightStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesAlarmControlPanelResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesAlarmControlPanelResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesBinarySensorResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesBinarySensorResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesButtonResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesButtonResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesCameraResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesCameraResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesClimateResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesClimateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesCoverResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesCoverResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesDateResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesDateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesDateTimeResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesDateTimeResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesDoneResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesDoneResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesEventResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesEventResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesFanResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesFanResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesLightResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesLightResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesLockResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesLockResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesMediaPlayerResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesMediaPlayerResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesNumberResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesNumberResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesRequest> for EspHomeMessage

Source§

fn from(msg: ListEntitiesRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesSelectResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesSelectResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesSensorResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesSensorResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesServicesResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesServicesResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesSirenResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesSirenResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesSwitchResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesSwitchResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesTextResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesTextResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesTextSensorResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesTextSensorResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesTimeResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesTimeResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesUpdateResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesUpdateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ListEntitiesValveResponse> for EspHomeMessage

Source§

fn from(msg: ListEntitiesValveResponse) -> Self

Converts to this type from the input type.
Source§

impl From<LockCommandRequest> for EspHomeMessage

Source§

fn from(msg: LockCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<LockStateResponse> for EspHomeMessage

Source§

fn from(msg: LockStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<MediaPlayerCommandRequest> for EspHomeMessage

Source§

fn from(msg: MediaPlayerCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<MediaPlayerStateResponse> for EspHomeMessage

Source§

fn from(msg: MediaPlayerStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<NoiseEncryptionSetKeyRequest> for EspHomeMessage

Source§

fn from(msg: NoiseEncryptionSetKeyRequest) -> Self

Converts to this type from the input type.
Source§

impl From<NoiseEncryptionSetKeyResponse> for EspHomeMessage

Source§

fn from(msg: NoiseEncryptionSetKeyResponse) -> Self

Converts to this type from the input type.
Source§

impl From<NumberCommandRequest> for EspHomeMessage

Source§

fn from(msg: NumberCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<NumberStateResponse> for EspHomeMessage

Source§

fn from(msg: NumberStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<PingRequest> for EspHomeMessage

Source§

fn from(msg: PingRequest) -> Self

Converts to this type from the input type.
Source§

impl From<PingResponse> for EspHomeMessage

Source§

fn from(msg: PingResponse) -> Self

Converts to this type from the input type.
Source§

impl From<SelectCommandRequest> for EspHomeMessage

Source§

fn from(msg: SelectCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SelectStateResponse> for EspHomeMessage

Source§

fn from(msg: SelectStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<SensorStateResponse> for EspHomeMessage

Source§

fn from(msg: SensorStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<SirenCommandRequest> for EspHomeMessage

Source§

fn from(msg: SirenCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SirenStateResponse> for EspHomeMessage

Source§

fn from(msg: SirenStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeBluetoothConnectionsFreeRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeBluetoothConnectionsFreeRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeBluetoothLeAdvertisementsRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeBluetoothLeAdvertisementsRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeHomeAssistantStateResponse> for EspHomeMessage

Source§

fn from(msg: SubscribeHomeAssistantStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeHomeAssistantStatesRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeHomeAssistantStatesRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeHomeassistantServicesRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeHomeassistantServicesRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeLogsRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeLogsRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeLogsResponse> for EspHomeMessage

Source§

fn from(msg: SubscribeLogsResponse) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeStatesRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeStatesRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeVoiceAssistantRequest> for EspHomeMessage

Source§

fn from(msg: SubscribeVoiceAssistantRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SwitchCommandRequest> for EspHomeMessage

Source§

fn from(msg: SwitchCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SwitchStateResponse> for EspHomeMessage

Source§

fn from(msg: SwitchStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<TextCommandRequest> for EspHomeMessage

Source§

fn from(msg: TextCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<TextSensorStateResponse> for EspHomeMessage

Source§

fn from(msg: TextSensorStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<TextStateResponse> for EspHomeMessage

Source§

fn from(msg: TextStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<TimeCommandRequest> for EspHomeMessage

Source§

fn from(msg: TimeCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<TimeStateResponse> for EspHomeMessage

Source§

fn from(msg: TimeStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<UnsubscribeBluetoothLeAdvertisementsRequest> for EspHomeMessage

Source§

fn from(msg: UnsubscribeBluetoothLeAdvertisementsRequest) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateCommandRequest> for EspHomeMessage

Source§

fn from(msg: UpdateCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateStateResponse> for EspHomeMessage

Source§

fn from(msg: UpdateStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ValveCommandRequest> for EspHomeMessage

Source§

fn from(msg: ValveCommandRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ValveStateResponse> for EspHomeMessage

Source§

fn from(msg: ValveStateResponse) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantAnnounceFinished> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantAnnounceFinished) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantAnnounceRequest> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantAnnounceRequest) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantAudio> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantAudio) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantConfigurationRequest> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantConfigurationRequest) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantConfigurationResponse> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantConfigurationResponse) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantEventResponse> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantEventResponse) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantRequest> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantRequest) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantResponse> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantResponse) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantSetConfiguration> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantSetConfiguration) -> Self

Converts to this type from the input type.
Source§

impl From<VoiceAssistantTimerEventResponse> for EspHomeMessage

Source§

fn from(msg: VoiceAssistantTimerEventResponse) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for EspHomeMessage

Source§

fn eq(&self, other: &EspHomeMessage) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<Vec<u8>> for EspHomeMessage

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(msg: Vec<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for EspHomeMessage

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more